[Dovecot] /usr/lib/dovecot/imap ignores log settings?

Asheesh Laroia dovecot at asheesh.org
Thu Dec 29 20:11:25 EET 2011


On Thu, 29 Dec 2011, Timo Sirainen wrote:

> On 28.12.2011, at 20.31, Asheesh Laroia wrote:
>
>> Hi Dovecot peeps,
>>
>> I'm enjoying running /usr/lib/dovecot/imap directly as a PREAUTH IMAP pipe.
>>
>> I find that it outputs log messages whose severity is INFO to stdout. I'm running it as follows:
>>
>> 	/usr/lib/dovecot/imap -c /tmp/dovecot.conf
>>
>> and I see the following messages output to stdout:
>
> stderr actually.

Right. Thanks for that; I saw it was file descriptor 2 in the strace after 
I hit send.

>> I'd like that message to actually not be printed, which is why I set log_path to syslog.
>
> Not possible currently. Either do:
>
> /usr/lib/dovecot/imap 2>> ~/imap.log
>
> Or patch the source:

[snip]

Great! That should be okay for now.

-- Asheesh.



More information about the dovecot mailing list