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")