On Thu, Nov 10, 2011 at 02:03:15PM -0500, Rosenbaum, Larry M. wrote:
> Is there a Cyrus IMAP configuration to make the imap log less verbose?  Or do 
> I have to do that in rsyslog.conf?  Here's what I'm getting:

rsyslog.conf

> Nov 10 12:11:05 email-new master[7181]: about to exec 
> /usr/lib/cyrus-imapd/imapd
> Nov 10 12:11:05 email-new imap[7181]: executed
> Nov 10 12:13:00 email-new master[2856]: process 2882 exited, status 0
> Nov 10 12:33:53 email-new master[7308]: about to exec 
> /usr/lib/cyrus-imapd/ctl_cyrusdb
> Nov 10 12:33:53 email-new ctl_cyrusdb[7308]: checkpointing cyrus databases
> Nov 10 12:33:53 email-new ctl_cyrusdb[7308]: archiving database file: 
> /var/lib/imap/mailboxes.db
> Nov 10 12:33:53 email-new ctl_cyrusdb[7308]: archiving database file: 
> /var/lib/imap/annotations.db
> Nov 10 12:33:53 email-new ctl_cyrusdb[7308]: done checkpointing cyrus 
> databases
> Nov 10 12:33:53 email-new master[2856]: process 7308 exited, status 0
> Nov 10 13:03:53 email-new master[7865]: about to exec 
> /usr/lib/cyrus-imapd/ctl_cyrusdb
> Nov 10 13:03:53 email-new ctl_cyrusdb[7865]: checkpointing cyrus databases
> Nov 10 13:03:53 email-new ctl_cyrusdb[7865]: archiving database file: 
> /var/lib/imap/mailboxes.db
> Nov 10 13:03:53 email-new ctl_cyrusdb[7865]: archiving database file: 
> /var/lib/imap/annotations.db
> Nov 10 13:03:53 email-new ctl_cyrusdb[7865]: done checkpointing cyrus 
> databases
> Nov 10 13:03:53 email-new master[2856]: process 7865 exited, status 0
> Nov 10 13:33:53 email-new master[7930]: about to exec 
> /usr/lib/cyrus-imapd/ctl_cyrusdb
> Nov 10 13:33:53 email-new ctl_cyrusdb[7930]: checkpointing cyrus databases
> Nov 10 13:33:53 email-new ctl_cyrusdb[7930]: archiving database file: 
> /var/lib/imap/mailboxes.db
> Nov 10 13:33:53 email-new ctl_cyrusdb[7930]: archiving database file: 
> /var/lib/imap/annotations.db
> Nov 10 13:33:53 email-new ctl_cyrusdb[7930]: done checkpointing cyrus 
> databases
> Nov 10 13:33:53 email-new master[2856]: process 7930 exited, status 0

That's 6 lines every half hour.  That's not verbose.

-rw-r--r-- 1 root root 105026198 Nov  6 03:07 /var/log/imapd.log.5.gz
-rw-r--r-- 1 root root 112415573 Nov  5 03:07 /var/log/imapd.log.6.gz

Over 100Mb/day compressed is verbose...

;)

Seriously though - if something went wrong with checkpointing, you'd
appreciate those log lines telling you where it happened.

Bron.
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Reply via email to