Merged revisions 7963 via svnmerge from
authorMatt O'Gorman <mogorman@digium.com>
Tue, 17 Jan 2006 16:58:09 +0000 (16:58 +0000)
committerMatt O'Gorman <mogorman@digium.com>
Tue, 17 Jan 2006 16:58:09 +0000 (16:58 +0000)
https://svn.digium.com/svn/asterisk/branches/1.2

........
r7963 | mogorman | 2006-01-10 22:38:07 -0600 (Tue, 10 Jan 2006) | 2 lines

Minor typo refrenced in 6191

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8125 65c4cc65-6c06-0410-ace0-fbb531ad65f3

logger.c

index 1d283fa..7de58c9 100644 (file)
--- a/logger.c
+++ b/logger.c
@@ -465,9 +465,9 @@ int reload_logger(int rotate)
        ast_mutex_unlock(&loglock);
 
        filesize_reload_needed = 0;
-
-       queue_log_init();
+       
        init_logger_chain();
+       queue_log_init();
 
        if (logfiles.event_log) {
                if (eventlog) {
@@ -594,12 +594,12 @@ int init_logger(void)
        ast_cli_register(&rotate_logger_cli);
        ast_cli_register(&logger_show_channels_cli);
 
-       /* initialize queue logger */
-       queue_log_init();
-
        /* create log channels */
        init_logger_chain();
 
+       /* initialize queue logger */
+       queue_log_init();
+
        /* create the eventlog */
        if (logfiles.event_log) {
                mkdir((char *)ast_config_AST_LOG_DIR, 0755);