Displaying 2 results from an estimated 2 matches for "47ee7bf".
2018 May 30
0
use instance-name for syslog?
...t = NULL;
+
+ i_free(syslog_ident);
+ syslog_ident = i_strdup(ident);
+
+ openlog(syslog_ident, options, facility);
i_set_fatal_handler(i_syslog_fatal_handler);
i_set_error_handler(i_syslog_error_handler);
diff --git a/src/master/service-process.c b/src/master/service-process.c
index bc10df1..47ee7bf 100644
--- a/src/master/service-process.c
+++ b/src/master/service-process.c
@@ -222,6 +222,7 @@ static void service_process_setup_config_environment(struct service *service)
/* give the log's configuration directly, so it won't depend
on config process */
env_put("DOVECONF...
2018 May 30
3
use instance-name for syslog?
Hello,
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