# HG changeset patch # User matthijs at stdin.nl # Date 1240845142 -7200 # Branch HEAD # Node ID 19f4b6167b426c36b7b3b38db4397f2723dc75c2 # Parent c8de2237478fc01ee46e6ec8cda41e8d3cecb68c Clarify rawlog example. diff -r c8de2237478f -r 19f4b6167b42 dovecot-example.conf --- a/dovecot-example.conf Thu Apr 23 12:01:40 2009 -0400 +++ b/dovecot-example.conf Mon Apr 27 17:12:22 2009 +0200 @@ -543,6 +543,9 @@ # # This would write rawlogs into ~/dovecot.rawlog/ directory: # mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap + # Note that this writes into the homedir of the logged in user and will only + # work if the ~/dovecot.rawlog directory already exists. + # <doc/wiki/Debugging/Rawlog> # # This would attach gdb into the imap process and write backtraces into # /tmp/gdbhelper.* files:
On Mon, 2009-04-27 at 18:21 +0200, Matthijs Kooijman wrote:> # This would write rawlogs into ~/dovecot.rawlog/ directory: > # mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap > + # Note that this writes into the homedir of the logged in user and will only > + # work if the ~/dovecot.rawlog directory already exists. > + # <doc/wiki/Debugging/Rawlog>I'm trying to shorten the dovecot-example.conf nowadays, which can't really be done by adding more lines :) But yes, the wiki link is definitely useful. I also changed the first line to be a bit better: http://hg.dovecot.org/dovecot-1.2/rev/37c0111961f5 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090429/91c3b5d6/attachment-0002.bin>
Timo Sirainen schrieb:> On Mon, 2009-04-27 at 18:21 +0200, Matthijs Kooijman wrote: >> # This would write rawlogs into ~/dovecot.rawlog/ directory: >> # mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap >> + # Note that this writes into the homedir of the logged in user and will only >> + # work if the ~/dovecot.rawlog directory already exists. >> + # <doc/wiki/Debugging/Rawlog> > > I'm trying to shorten the dovecot-example.conf nowadays, which can't > really be done by adding more lines :) But yes, the wiki link is > definitely useful. I also changed the first line to be a bit better: > http://hg.dovecot.org/dovecot-1.2/rev/37c0111961f5Hi Timo, as rawlog does not longer work here since update to dove 1.2 latest it might be better to have more debug with rawlog, cause i cant found anything in the logs why it stopped working -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria