Re: Can not log seperates message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

did you reload/restart syslogd?

Quoting zhuzhixin <zhuzhixin@xxxxxxxxxx>:

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




--------------------------------------------------------------------------------
M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung mail: michael.menge@xxxxxxxxxxxxxxxxxxxx
Wächterstraße 76
72074 Tübingen

Attachment: smime.p7s
Description: S/MIME krytographische Unterschrift

----
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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux