projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TextMessage handling added.
[umurmur.git]
/
src
/
log.c
diff --git
a/src/log.c
b/src/log.c
index f3bfea6f2939314807875d62b70d1f9cfe813cf8..9dceaad67bfa7cfdc34651f5608dcd47c81bf875 100644
(file)
--- a/
src/log.c
+++ b/
src/log.c
@@
-84,7
+84,7
@@
void Log_warn(const char *logstring, ...)
if (termprint)
fprintf(stderr, "%s", buf); /* XXX - other targets for logging */
else
if (termprint)
fprintf(stderr, "%s", buf); /* XXX - other targets for logging */
else
- syslog(LOG_
ALERT
, buf);
+ syslog(LOG_
WARNING
, buf);
}
void Log_info(const char *logstring, ...)
}
void Log_info(const char *logstring, ...)
@@
-101,7
+101,7
@@
void Log_info(const char *logstring, ...)
if (termprint)
fprintf(stderr, "%s", buf); /* XXX - other targets for logging */
else
if (termprint)
fprintf(stderr, "%s", buf); /* XXX - other targets for logging */
else
- syslog(LOG_
ALERT
, buf);
+ syslog(LOG_
INFO
, buf);
}
#ifdef DEBUG
}
#ifdef DEBUG
@@
-119,7
+119,7
@@
void Log_debug(const char *logstring, ...)
if (termprint)
fprintf(stderr, "%s", buf); /* XXX - other targets for logging */
else
if (termprint)
fprintf(stderr, "%s", buf); /* XXX - other targets for logging */
else
- syslog(LOG_
INFO
, buf);
+ syslog(LOG_
DEBUG
, buf);
}
#endif
}
#endif
@@
-136,6
+136,6
@@
void Log_fatal(const char *logstring, ...)
if (termprint)
fprintf(stderr, "%s", buf); /* XXX - other targets for logging */
else
if (termprint)
fprintf(stderr, "%s", buf); /* XXX - other targets for logging */
else
- syslog(LOG_
INFO
, buf);
+ syslog(LOG_
CRIT
, buf);
exit(1);
}
exit(1);
}