Displaying 3 results from an estimated 3 matches for "master_service_setting_defin".
Did you mean:
master_service_setting_defines
2018 May 30
0
use instance-name for syslog?
...b/src/lib-master/master-service-settings.c
index 30ad936..67fca19 100644
--- a/src/lib-master/master-service-settings.c
+++ b/src/lib-master/master-service-settings.c
@@ -36,6 +36,7 @@ master_service_settings_check(void *_set, pool_t pool, const char **error_r);
static const struct setting_define master_service_setting_defines[] = {
DEF(SET_STR, base_dir),
DEF(SET_STR, state_dir),
+ DEF(SET_STR, instance_name),
DEF(SET_STR, log_path),
DEF(SET_STR, info_log_path),
DEF(SET_STR, debug_log_path),
@@ -52,6 +53,7 @@ static const struct setting_define master_service_setting_defines[] = {
static const struct master_...
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
2012 Aug 13
2
[PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting
...r/master-service-settings.c b/src/lib-master/master-service-settings.c
--- a/src/lib-master/master-service-settings.c
+++ b/src/lib-master/master-service-settings.c
@@ -33,6 +33,7 @@
master_service_settings_check(void *_set, pool_t pool, const char **error_r);
static const struct setting_define master_service_setting_defines[] = {
+ DEF(SET_STR, state_dir),
DEF(SET_STR, log_path),
DEF(SET_STR, info_log_path),
DEF(SET_STR, debug_log_path),
@@ -47,6 +48,7 @@
};
static const struct master_service_settings master_service_default_settings = {
+ .state_dir = PKG_STATEDIR,
.log_path = "syslog",
.info...