diff options
author | anthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-15 18:48:07 +0000 |
---|---|---|
committer | anthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-15 18:48:07 +0000 |
commit | cb7f9f881ae85740e931f9ae851df6e61f82988b (patch) | |
tree | 595488abd0d298ad23dd46b735ff8423e8efc69b /asterisk.c | |
parent | 4fa9f28ecafc8f953f1e5a73d822118e80222ab3 (diff) |
Added an extra reload_logger() after *.so is loaded in case a custom config handler binded to logger.conf
to solve a chicken/egg issue where logger.conf is parsed before lodable modules are loaded.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3217 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'asterisk.c')
-rwxr-xr-x | asterisk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/asterisk.c b/asterisk.c index 556f77605..f5da120df 100755 --- a/asterisk.c +++ b/asterisk.c @@ -1682,6 +1682,9 @@ int main(int argc, char *argv[]) printf(term_quit()); exit(1); } + /* reload logger in case a custom config handler binded to logger.conf*/ + reload_logger(0); + /* We might have the option of showing a console, but for now just do nothing... */ if (option_console && !option_verbose) |