aboutsummaryrefslogtreecommitdiffstats
path: root/log.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-04-14 11:27:50 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2010-04-14 11:27:50 +0200
commit21c87a78f1c01fe24610a5d05a65e52bd8eaa796 (patch)
treec4d95580134610222f8a2630d386be460fa74bb4 /log.c
parent81186cab101fa8c2f82137014d0b3c060b658cb0 (diff)
parent156bbd7b66cf29220c2ff6a86217c4dec5e33765 (diff)
Merging loads of stuff from mainline.
Diffstat (limited to 'log.c')
-rw-r--r--log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/log.c b/log.c
index 4606fb88..d7d971bd 100644
--- a/log.c
+++ b/log.c
@@ -171,5 +171,7 @@ static void log_console(int level, char *message) {
if(level == LOGLVL_DEBUG)
fprintf(stdout, "Debug: %s\n", message);
#endif
+ /* Always log stuff in syslogs too. */
+ log_syslog(level, message);
return;
}