Bug 754940 - Reduce noisy logging from cyrus-imapd
Summary: Reduce noisy logging from cyrus-imapd
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cyrus-imapd
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-18 09:56 UTC by Philip Prindeville
Modified: 2011-11-23 08:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-23 08:52:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Add option 'debug', which, unless set, turns off LOG_DEBUG in setlogmask() (5.11 KB, patch)
2011-11-18 09:59 UTC, Philip Prindeville
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Cyrus IMAP 3269 0 None None None Never

Description Philip Prindeville 2011-11-18 09:56:20 UTC
Description of problem:

A lot of unexceptional (and invariant) information is logged by cyrus-imapd that might be useful for debugging, but is uninteresting in a production environment.

This fix downgrades a few messages from INFO or NOTICE to DEBUG, and allows a configuration variable which blocks only DEBUG messages at the application level (regardless of facility settings in syslog.conf).


Version-Release number of selected component (if applicable):

2.4.12-3

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:

Lots of messages like:

Nov 18 01:27:24 localhost master[1869]: process started
Nov 18 01:27:24 localhost master[1869]: ready for work
Nov 18 02:32:50 localhost lmtpunix[2550]: accepted connection

etc.

Expected results:

Omit these messages.

Additional info:

Comment 1 Philip Prindeville 2011-11-18 09:59:13 UTC
Created attachment 534368 [details]
Add option 'debug', which, unless set, turns off LOG_DEBUG in setlogmask()

Comment 2 Philip Prindeville 2011-11-22 03:04:29 UTC
This has been accepted upstream, presumably in time for the 2.4.13 release.

https://bugzilla.cyrusimap.org/show_bug.cgi?id=3269#c3


Note You need to log in before you can comment on or make changes to this bug.