[Asterisk-cvs] asterisk asterisk.c,1.91,1.92
anthm at lists.digium.com
anthm at lists.digium.com
Tue Jun 15 13:43:14 CDT 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv11074
Modified Files:
asterisk.c
Log Message:
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.
Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- asterisk.c 13 Jun 2004 21:25:09 -0000 1.91
+++ asterisk.c 15 Jun 2004 18:48:07 -0000 1.92
@@ -1682,6 +1682,9 @@
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)
More information about the svn-commits
mailing list