]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11686 [mod_logfile] have mod_logfile say filename when rotating log
authorjoshebosh <bitbucket@joshebosh.email>
Mon, 4 Mar 2019 19:29:44 +0000 (14:29 -0500)
committerAndrey Volk <andywolk@gmail.com>
Wed, 17 Jul 2019 15:43:02 +0000 (19:43 +0400)
src/mod/loggers/mod_logfile/mod_logfile.c

index e74aee444b3bbfbc4fa268fae485136927480126..4dc3c6a7e828d4510de68bf8dbc0d51cabb17a00 100644 (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;
        }