summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/log.c b/src/core/log.c
index 368de25f..9c39962a 100644
--- a/src/core/log.c
+++ b/src/core/log.c
@@ -175,6 +175,7 @@ static void log_rotate_check(LOG_REC *log)
new_fname = log_filename(log);
if (strcmp(new_fname, log->real_fname) != 0) {
/* rotate log */
+ signal_emit("log rotate", 1, log);
log_stop_logging(log);
log_start_logging(log);
}