From 5022aeb3370253d6b7067c04e2bb57d510077d31 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 5 Jul 2021 11:52:06 +0200 Subject: [PATCH] Fix log rotation Fix https://github.com/profanity-im/profanity/issues/1518 See https://github.com/profanity-im/profanity/issues/1518#issuecomment-870581988 --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.c b/src/log.c index 66fe8abe..ecc1038b 100644 --- a/src/log.c +++ b/src/log.c @@ -250,7 +250,7 @@ _rotate_log_file(void) rename(log_file, log_file_new); - log_init(log_get_filter(), log_file); + log_init(log_get_filter(), NULL); free(log_file_new); free(log_file);