[dovecot-cvs] dovecot-lda/src deliver.c,1.50,1.51
cras at dovecot.org
cras at dovecot.org
Fri May 12 21:19:49 EEST 2006
Update of /var/lib/cvs/dovecot-lda/src
In directory talvi:/tmp/cvs-serv29433
Modified Files:
deliver.c
Log Message:
If there's no log_path defined, log to syslog. Just like other parts of
Dovecot.
Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot-lda/src/deliver.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- deliver.c 3 May 2006 22:59:25 -0000 1.50
+++ deliver.c 12 May 2006 18:19:46 -0000 1.51
@@ -452,7 +452,7 @@
static void open_logfile(void)
{
- if (getenv("USE_SYSLOG") != NULL) {
+ if (getenv("LOG_PATH") == NULL) {
const char *env = getenv("SYSLOG_FACILITY");
i_set_failure_syslog("deliver", LOG_NDELAY,
env == NULL ? LOG_MAIL : atoi(env));
More information about the dovecot-cvs
mailing list