Can not log seperates message

2009-08-30 Thread zhuzhixin
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


smime.p7s
Description: S/MIME Cryptographic Signature

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: Can not log seperates message

2009-08-31 Thread zhuzhixin
Michael Menge wrote:
> Hi,
> 
> did you reload/restart syslogd?

Yes;-)

I even restart the system. But still now work;-(


Zhu Zhixin


smime.p7s
Description: S/MIME Cryptographic Signature

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html