Can not log seperates message

zhuzhixin zhuzhixin at realss.com
Mon Aug 31 02:51:03 EDT 2009


Hi,

*** http://cyrusimap.web.cmu.edu/imapd/install-configure.html***

   In the page above, it tell us howto make seperate message for
cyrus-imapd log. I follow the page and add two lines in /etc/syslog.conf

--
local6.debug			/var/log/imapd.log
auth.debug			/var/log/auth.log

   I also touch these two files and give them correct permissions.

   But the log message still appears in /var/log/syslog, meanwhile the
/var/log/imapd.log keeps empty.

   Why?

   The document says: The Cyrus IMAP server uses the 4.3BSD syslog that
separates messages into both levels and categories. Invoke "man syslog"
to see if "openlog()" takes three arguments. If it does not, replace the
system "syslogd" and "syslog.conf" with the files provided in the
"syslog" directory.

   Since i cannot find the manual of syslog but syslogd, and it doesn't
have openlog() function either. So i don't know howto determine if the
syslog in my system uses 4.3BSD.

   I want the messages logged into imapd.log and auth.log, and meanwhile
not log messages to /var/log/syslog.

   My system is Debian lenny i386, cyrus-imapd version is 2.2.13-14.

   Please help!

Thanks,

Zhu Zhixin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3262 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20090831/6b4aeaac/attachment.bin 


More information about the Info-cyrus mailing list