Am 30.05.2018 um 21:21 schrieb A. Schulze:
Am 30.05.2018 um 18:08 schrieb SATOH Fumiyasu:
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...
done && looks good.
It's a matter of flavor if the processes should be contain the string with "dovecot" so I skipped the first patch "Do not prepend "dovecot-" to a process name"
now I could set:
no instance_name -> everything as usual
instance_name = foo -> syslog entries start with "foo: ..." -> child processes are named "dovecot-foo/..."
instance_name = dovecot/foo -> syslog entries start with "dovecot/foo: ..." -> child processes are named "dovecot/foo/..." (same if I replace / with - or +)
instance_name = bar/foo -> syslog entries start with "bar/foo: ..." -> child prosesses are named "dovecot-bar/foo/..."
I would love to see that feature upstream one day.
Thanks, Andreas