diff options
-rw-r--r-- | docs/signals.txt | 2 | ||||
-rw-r--r-- | src/core/log.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/signals.txt b/docs/signals.txt index 0866baba..6525ec24 100644 --- a/docs/signals.txt +++ b/docs/signals.txt @@ -47,7 +47,7 @@ log.c: "log locked", LOG_REC "log started", LOG_REC "log stopped", LOG_REC - "log rotate", LOG_REC + "log rotated", LOG_REC "log written", LOG_REC, char *line modules.c: diff --git a/src/core/log.c b/src/core/log.c index 9fbaba49..d2f1e7bf 100644 --- a/src/core/log.c +++ b/src/core/log.c @@ -176,7 +176,7 @@ static void log_rotate_check(LOG_REC *log) if (strcmp(new_fname, log->real_fname) != 0) { /* rotate log */ log_stop_logging(log); - signal_emit("log rotate", 1, log); + signal_emit("log rotated", 1, log); log_start_logging(log); } g_free(new_fname); |