Re: disable logging
On 17 Jan 2003, Woerns Urstmann writes: So you will want local6.info or somesuch.. thanks. but now i got it logging to /var/log/auth.log AND /var/log/messages - there is an entry in syslog.conf: # save the rest in one file *.*;mail.none;news.none -/var/log/messages the *.* is doing it, right? but if i remove it, am i loosing some important logging entries? (1) If you want auth.info in a separate file, add ;auth.none to the entry for /var/log/messages. So it would become more like: *.*;mail.none;news.none;auth.none -/var/log/messages (2) If you want the auth messages only in /var/log/messages, just delete your syslog.conf entry for /var/log/auth.log. Which way you do it just a matter of personal preference. Jonathan -- Jonathan Marsden| Internet: [EMAIL PROTECTED] | Making electronic 1252 Judson Street | Phone: +1 (909) 795-3877 | communications work Redlands, CA 92374 | Fax: +1 (909) 795-0327 | reliably for Christian USA | http://www.xc.org/jonathan| missions worldwide
disable logging
how can i disable this excessive logging to my syslog? i really can't find any debug switch in my setup. Jan 16 19:25:56 wurstbude saslauthd[2176]: dbuser changed. Jan 16 19:25:56 wurstbude saslauthd[2176]: dbpasswd changed. Jan 16 19:25:56 wurstbude saslauthd[2176]: host changed. Jan 16 19:25:56 wurstbude saslauthd[2176]: database changed. Jan 16 19:25:56 wurstbude saslauthd[2176]: table changed. ... ... Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed to open index file Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed to open index file Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed to open index file Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed ... ... thanks jens
Re: disable logging
Woerns Urstmann wrote: how can i disable this excessive logging to my syslog? i really can't find any debug switch in my setup. Look at local6 in syslog.conf. -- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
Re: disable logging
On Thu, Jan 16, 2003 at 07:27:27PM +0100, Woerns Urstmann wrote: how can i disable this excessive logging to my syslog? i really can't find any debug switch in my setup. from doc/install-configure.html part 3: If you do not copy the syslog/syslog.conf file to the /etc directory, be sure to add support for local6.debug. The file should include a line like: local6.debug /var/log/imapd.log You probably also want to log SASL messages with a line like: auth.debug /var/log/auth.log After installation and testing, you probably want to change the .debug component to something a little less verbose. Create the log files: touch /var/log/imapd.log /var/log/auth.log So you will want local6.info or somesuch.. Cheers, Patrick
Re: disable logging
Logging is done via syslog, check your syslog.conf for the following local6 facility and/or mail. You probably have them in debug, change it to something higher... Regards To: [EMAIL PROTECTED] cc: bcc: Subject: disable logging Woerns Urstmann [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 01/16/2003 07:27 PM font size=-1/font how can i disable this excessive logging to my syslog? i really can't find any debug switch in my setup. Jan 16 19:25:56 wurstbude saslauthd[2176]: dbuser changed. Jan 16 19:25:56 wurstbude saslauthd[2176]: dbpasswd changed. Jan 16 19:25:56 wurstbude saslauthd[2176]: host changed. Jan 16 19:25:56 wurstbude saslauthd[2176]: database changed. Jan 16 19:25:56 wurstbude saslauthd[2176]: table changed. ... ... Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed to open index file Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed to open index file Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed to open index file Jan 16 19:26:51 wurstbude imapd[14971]: SQUAT failed ... ... thanks jens