use instance-name for syslog?

A. Schulze sca at andreasschulze.de
Wed May 30 22:21:54 EEST 2018



Am 30.05.2018 um 18:08 schrieb SATOH Fumiyasu:
> Hi!
> 
> On Thu, 31 May 2018 00:44:58 +0900,
> A. Schulze wrote:
>> When running multiple instances of dovecot on the same host (or running multiple docker container),
>> it is hard to distinguish logs from different processes: the syslog entries are all prefixed with the same identifier "dovecot"
>> It is hardcoded here:
>> https://github.com/dovecot/core/blob/master/src/lib-master/master-service.c#L420
>>
>> Would it make sense to use the already implemented instance-name as syslog ident?
>> How do others solve that problem?
> 
> I have a patchset to implement that. Please see the attachment.

Thanks!, I'll try to apply the patch on 2.2.36 and report my results...

Andreas


More information about the dovecot mailing list