From f58e51ec842631b4d741bcf401aee58242548b8f Mon Sep 17 00:00:00 2001
From: jo <ljonas@riseup.net>
Date: Wed, 4 May 2022 15:08:11 +0200
Subject: [PATCH] fix(playout): disable playout-notify log rotation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Let logrotate handle liquidsoap.log log rotation.

Fix #1546
---
 playout/libretime_playout/notify/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/playout/libretime_playout/notify/main.py b/playout/libretime_playout/notify/main.py
index 7b25ef512..9addcba4e 100644
--- a/playout/libretime_playout/notify/main.py
+++ b/playout/libretime_playout/notify/main.py
@@ -33,7 +33,7 @@ def cli(log_level: str, log_filepath: Optional[Path]):
     """
     A gateway between Liquidsoap and the API.
     """
-    setup_logger(level_from_name(log_level), log_filepath)
+    setup_logger(level_from_name(log_level), log_filepath, rotate=False)
 
 
 @cli.command()