FS-11686 [mod_logfile] have mod_logfile say filename when rotating log

This commit is contained in:
joshebosh 2019-03-04 14:29:44 -05:00 committed by Andrey Volk
parent a9e634b664
commit 7aac844f43

View File

@ -189,7 +189,7 @@ static switch_status_t mod_logfile_rotate(logfile_profile_t *profile)
profile->suffix++;
}
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: %s\n", profile->logfile);
goto end;
}