reformat
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6514 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c320b9621d
commit
e338dc3f83
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue