tweak the session level logging to work on the console too

This commit is contained in:
Anthony Minessale
2012-10-11 12:44:31 -05:00
parent a0049b2296
commit 4dae523bca
6 changed files with 29 additions and 4 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ static switch_status_t switch_console_logger(const switch_log_node_t *node, swit
}
#endif
if (level > hard_log_level) {
if (level > hard_log_level && (node->slevel == SWITCH_LOG_UNINIT || level > node->slevel)) {
return SWITCH_STATUS_SUCCESS;
}