[commit] r7711 - freeswitch/trunk/src/mod/loggers/mod_console
Author: anthm Date: Wed Feb 20 15:15:45 2008 New Revision: 7711 Modified: freeswitch/trunk/src/mod/loggers/mod_console/mod_console.c Log: update Modified: freeswitch/trunk/src/mod/loggers/mod_console/mod_console.c ============================================================================== --- freeswitch/trunk/src/mod/loggers/mod_console/mod_console.c (original) +++ freeswitch/trunk/src/mod/loggers/mod_console/mod_console.c Wed Feb 20 15:15:45 2008 @@ -62,7 +62,7 @@ static switch_hash_t *log_hash = NULL; static uint32_t all_level = 0; static int32_t hard_log_level = SWITCH_LOG_DEBUG; -static int32_t failed_write = 0; +//static int32_t failed_write = 0; static void del_mapping(char *var) { switch_core_hash_insert(log_hash, var, NULL); @@ -235,8 +235,8 @@ int aok = can_write(handle, 10000); if (!aok) { - hard_log_level = 0; - failed_write++; + //hard_log_level = 0; + //failed_write++; return SWITCH_STATUS_SUCCESS; } #endif
participants (1)
-
Freeswitch SVN