[dovecot-cvs] dovecot/src/login-common main.c,1.27,1.28
cras at dovecot.org
cras at dovecot.org
Fri Dec 2 14:53:28 EET 2005
- Previous message: [dovecot-cvs] dovecot/src/imap main.c,1.66,1.67
- Next message: [dovecot-cvs] dovecot/src/master Makefile.am, 1.15, 1.16 main.c,
1.66, 1.67 master-settings.c, 1.93, 1.94 master-settings.h,
1.61, 1.62
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv7925/src/login-common
Modified Files:
main.c
Log Message:
Added syslog_facility setting to config file.
Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/main.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- main.c 25 Sep 2005 11:07:39 -0000 1.27
+++ main.c 2 Dec 2005 12:53:26 -0000 1.28
@@ -147,7 +147,9 @@
i_set_failure_internal();
else {
/* log to syslog */
- i_set_failure_syslog(process_name, LOG_NDELAY, LOG_MAIL);
+ env = getenv("SYSLOG_FACILITY");
+ i_set_failure_syslog(process_name, LOG_NDELAY,
+ env == NULL ? LOG_MAIL : atoi(env));
/* if we don't chroot, we must chdir */
env = getenv("LOGIN_DIR");
- Previous message: [dovecot-cvs] dovecot/src/imap main.c,1.66,1.67
- Next message: [dovecot-cvs] dovecot/src/master Makefile.am, 1.15, 1.16 main.c,
1.66, 1.67 master-settings.c, 1.93, 1.94 master-settings.h,
1.61, 1.62
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list