summaryrefslogtreecommitdiffabout
path: root/src/main.c
authorSergey Poznyakoff <gray@gnu.org.ua>2007-09-12 12:43:37 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2007-09-12 12:43:37 (GMT)
commit2c22da692b38ffa3e157d1529c3f718989a58106 (patch) (side-by-side diff)
treedf92ee3c5d587800b7f11fea50b4b21fdc4b3416 /src/main.c
parent0434e04c026bc4014a59eb7b9af5611a0df5fc9e (diff)
downloadmailfromd-2c22da692b38ffa3e157d1529c3f718989a58106.tar.gz
mailfromd-2c22da692b38ffa3e157d1529c3f718989a58106.tar.bz2
(log_setup): Set up gacopyz_syslog_log_printer when logging to syslog.
git-svn-id: file:///svnroot/mailfromd/trunk@1510 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'src/main.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 78c2aca..c277645 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1678,6 +1678,7 @@ log_setup(int want_stderr)
/* Set up logging */
if (!want_stderr) {
openlog(syslog_tag, LOG_PID, log_facility);
+ gacopyz_set_logger(gacopyz_syslog_log_printer);
mu_error_set_print(syslog_error_printer);
} else {
gacopyz_set_logger(gacopyz_stderr_log_printer);

Return to:

Send suggestions and report system problems to the System administrator.