aboutsummaryrefslogtreecommitdiffstats
path: root/log.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-04-24 18:02:07 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-04-24 18:02:07 +0100
commitae3dc9996f5a678d6364005cab1517b6324eb67a (patch)
treed62ac84957cafa2f956ab82e0ff20505c64f2250 /log.c
parentb5b40ffd38e315223c6e38e4a291cbd58e471062 (diff)
parentf1b7711f566163ff27a8f13ae3ccc7214a24fe70 (diff)
Merging stuff from mainline (1.2.6).
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;
}