diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-26 18:39:06 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-26 18:39:06 +0000 |
commit | f0d1cef621b6279261a351a1c06caccd6fe9e85a (patch) | |
tree | e3b98ea87c1f245716b009b4b7173c660297f04e /main/logger.c | |
parent | 48c13bd6a34d681877f05c8bb7ed1ec47360f56e (diff) |
Add the "config reload <conffile>" command, which allows you to tell Asterisk
to reload any file that references a given configuration file.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111012 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/logger.c')
-rw-r--r-- | main/logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/logger.c b/main/logger.c index 072a23bb2..b7c517fa7 100644 --- a/main/logger.c +++ b/main/logger.c @@ -325,7 +325,7 @@ static void init_logger_chain(int reload, int locked) const char *s; struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 }; - if ((cfg = ast_config_load("logger.conf", config_flags)) == CONFIG_STATUS_FILEUNCHANGED) + if ((cfg = ast_config_load2("logger.conf", "logger", config_flags)) == CONFIG_STATUS_FILEUNCHANGED) return; /* delete our list of log channels */ |