diff --git a/restic_compose_backup/log.py b/restic_compose_backup/log.py index 6b8395d..5e1b9eb 100644 --- a/restic_compose_backup/log.py +++ b/restic_compose_backup/log.py @@ -26,5 +26,6 @@ def setup(level: str = 'warning'): ch = logging.StreamHandler(stream=sys.stdout) ch.setLevel(level) # ch.setFormatter(logging.Formatter(f'%(asctime)s - {HOSTNAME} - %(name)s - %(levelname)s - %(message)s')) - ch.setFormatter(logging.Formatter(f'%(asctime)s - {HOSTNAME} - %(levelname)s - %(message)s')) + # ch.setFormatter(logging.Formatter(f'%(asctime)s - {HOSTNAME} - %(levelname)s - %(message)s')) + ch.setFormatter(logging.Formatter(f'%(asctime)s - %(levelname)s: %(message)s')) logger.addHandler(ch)