mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-01 19:20:05 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7711 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7cd4672c15
commit
d96f9bac56
@ -62,7 +62,7 @@ static switch_memory_pool_t *module_pool = NULL;
|
|||||||
static switch_hash_t *log_hash = NULL;
|
static switch_hash_t *log_hash = NULL;
|
||||||
static uint32_t all_level = 0;
|
static uint32_t all_level = 0;
|
||||||
static int32_t hard_log_level = SWITCH_LOG_DEBUG;
|
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)
|
static void del_mapping(char *var)
|
||||||
{
|
{
|
||||||
switch_core_hash_insert(log_hash, var, NULL);
|
switch_core_hash_insert(log_hash, var, NULL);
|
||||||
@ -235,8 +235,8 @@ static switch_status_t switch_console_logger(const switch_log_node_t *node, swit
|
|||||||
int aok = can_write(handle, 10000);
|
int aok = can_write(handle, 10000);
|
||||||
|
|
||||||
if (!aok) {
|
if (!aok) {
|
||||||
hard_log_level = 0;
|
//hard_log_level = 0;
|
||||||
failed_write++;
|
//failed_write++;
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user