diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/conf.c | 2 | ||||
-rw-r--r-- | src/main.c | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -493,8 +493,6 @@ int reload_config_file (const char *config_fname, struct config_s *conf) { int ret; - log_message (LOG_NOTICE, "Reloading config file"); - initialize_config_defaults (conf); ret = load_config_file (config_fname, conf); @@ -257,6 +257,8 @@ int reload_config (int reload_logging) int ret; struct config_s *c_next = get_next_config(); + log_message (LOG_NOTICE, "Reloading config file"); + if (reload_logging) shutdown_logging (); ret = reload_config_file (config_file, c_next); @@ -269,6 +271,7 @@ int reload_config (int reload_logging) config = c_next; if (reload_logging) ret = setup_logging (); + log_message (LOG_NOTICE, "Reloading config file finished"); done: return ret; |