Bug 754940

Summary: Reduce noisy logging from cyrus-imapd
Product: [Fedora] Fedora Reporter: Philip Prindeville <philipp>
Component: cyrus-imapdAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhlavink, philipp, vanmeeuwen+fedora
Target Milestone: ---Keywords: EasyFix, Upstream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-23 08:52:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Add option 'debug', which, unless set, turns off LOG_DEBUG in setlogmask() none

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