From 8f815a30c597f5b4da84dd0e90214a7279f6c762 Mon Sep 17 00:00:00 2001 From: Jeltz Date: Mon, 1 Mar 2021 17:47:12 +0100 Subject: [PATCH] Remove useless date (already added by journald) --- roles/rsyslog_collector/files/rotate | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/rsyslog_collector/files/rotate b/roles/rsyslog_collector/files/rotate index 8738fef..6dc23e0 100644 --- a/roles/rsyslog_collector/files/rotate +++ b/roles/rsyslog_collector/files/rotate @@ -43,9 +43,7 @@ def main(): args = parser.parse_args() - logging.basicConfig( - format="[%(asctime)s] %(levelname)s %(message)s", level=logging.INFO - ) + logging.basicConfig(format="%(levelname)s %(message)s", level=logging.INFO) logging.info("Rotate script started")