make DEBUG_THREADS have more visible logging
[asterisk/asterisk.git] / logger.c
index be3b8c1..b06efb0 100755 (executable)
--- a/logger.c
+++ b/logger.c
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include "asterisk/lock.h"
-#include "asterisk/options.h"
-#include "asterisk/channel.h"
-#include "asterisk/config.h"
-#include "asterisk/term.h"
-#include "asterisk/cli.h"
-#include "asterisk/utils.h"
-#include "asterisk/manager.h"
-
 static int syslog_level_map[] = {
        LOG_DEBUG,
        LOG_INFO,    /* arbitrary equivalent of LOG_EVENT */
@@ -51,6 +42,14 @@ static int syslog_level_map[] = {
 #define SYSLOG_NLEVELS 6
 
 #include "asterisk/logger.h"
+#include "asterisk/lock.h"
+#include "asterisk/options.h"
+#include "asterisk/channel.h"
+#include "asterisk/config.h"
+#include "asterisk/term.h"
+#include "asterisk/cli.h"
+#include "asterisk/utils.h"
+#include "asterisk/manager.h"
 
 #define MAX_MSG_QUEUE 200