git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6514 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-12-05 03:17:34 +00:00
parent c320b9621d
commit e338dc3f83
1 changed files with 59 additions and 60 deletions

View File

@ -196,7 +196,7 @@ static switch_status_t mod_logfile_rotate(logfile_profile_t *profile)
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "New log started.\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "New log started.\n");
end: end:
switch_mutex_unlock(globals.mutex); switch_mutex_unlock(globals.mutex);
@ -236,7 +236,6 @@ static switch_status_t mod_logfile_raw_write(logfile_profile_t *profile, char *l
static switch_status_t mod_logfile_logger(const switch_log_node_t *node, switch_log_level_t level) static switch_status_t mod_logfile_logger(const switch_log_node_t *node, switch_log_level_t level)
{ {
/* TODO: Handle multiple profiles */ /* TODO: Handle multiple profiles */
if (default_profile->levels[node->level].on) { if (default_profile->levels[node->level].on) {
mod_logfile_raw_write(default_profile, node->data); mod_logfile_raw_write(default_profile, node->data);