On 01/12/2015 16:31, Timo Sirainen wrote:> > Does this help? http://hg.dovecot.org/dovecot-2.2/rev/25d63d9c7f5a >Hi Timo, Sorry about the thread hijacking but, speaking about the mail_log plugin, what do you think about the ability to add the session number to the log lines produced by this plugin? This could be a useful information to have too, especially on a large traffic mailhost. Regards, Gilles -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3086 bytes Desc: S/MIME Cryptographic Signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20151201/d171b279/attachment-0001.p7s>
On 2015-12-01 17:08:01 +0100, Gilles Chauvin wrote:> Sorry about the thread hijacking but, speaking about the mail_log plugin, > what do you think about the ability to add the session number to the log > lines produced by this plugin? > > This could be a useful information to have too, especially on a large > traffic mailhost.mail_log_prefix = "%s(%u): %{session} " only downside is some lines will then end up with the session ID twice. When i asked Timo said he doesnt want to change that behavior in 2.2. but in 2.3 it might be an option to unify that. hth darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
On 01/12/2015 17:14, Marcus Rueckert wrote:> mail_log_prefix = "%s(%u): %{session} " > > only downside is some lines will then end up with the session ID twice. > When i asked Timo said he doesnt want to change that behavior in 2.2. > but in 2.3 it might be an option to unify that. >Hi Marcus, I will try this soon. Thanks for the tip. Regards, Gilles -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3086 bytes Desc: S/MIME Cryptographic Signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20151201/3e9fdf9f/attachment.p7s>