[asterisk-commits] branch 1.2 - r8124 /branches/1.2/logger.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Jan 17 09:55:30 MST 2006
Author: mogorman
Date: Tue Jan 17 10:55:30 2006
New Revision: 8124
URL: http://svn.digium.com/view/asterisk?rev=8124&view=rev
Log:
Fixed code ordering of logger_init and queue_log_init
bug 6263
Modified:
branches/1.2/logger.c
Modified: branches/1.2/logger.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/logger.c?rev=8124&r1=8123&r2=8124&view=diff
==============================================================================
--- branches/1.2/logger.c (original)
+++ branches/1.2/logger.c Tue Jan 17 10:55:30 2006
@@ -461,8 +461,8 @@
filesize_reload_needed = 0;
+ init_logger_chain();
queue_log_init();
- init_logger_chain();
if (logfiles.event_log) {
if (eventlog) {
@@ -589,11 +589,11 @@
ast_cli_register(&rotate_logger_cli);
ast_cli_register(&logger_show_channels_cli);
+ /* create log channels */
+ init_logger_chain();
+
/* initialize queue logger */
queue_log_init();
-
- /* create log channels */
- init_logger_chain();
/* create the eventlog */
if (logfiles.event_log) {
More information about the asterisk-commits
mailing list