From d63b671b01207273cfc1b9f5ba009ffe9b196a2e Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 23 Oct 2025 08:17:21 -0500 Subject: [PATCH] log level debug --> info --- ford_qc_box_hotfolder_process.py | 8 ++++---- requirements.txt | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ford_qc_box_hotfolder_process.py b/ford_qc_box_hotfolder_process.py index 03c9ad4..ac5c9e1 100755 --- a/ford_qc_box_hotfolder_process.py +++ b/ford_qc_box_hotfolder_process.py @@ -75,9 +75,9 @@ if SYSTEMD_AVAILABLE: try: # Use systemd JournalHandler for native journal integration logger = logging.getLogger() - logger.setLevel(logging.DEBUG) + logger.setLevel(logging.INFO) journal_handler = JournalHandler(SYSLOG_IDENTIFIER='ford-qc-hotfolder') - journal_handler.setLevel(logging.DEBUG) + journal_handler.setLevel(logging.INFO) # Simplified format - systemd journal adds timestamps automatically formatter = logging.Formatter('%(levelname)s: %(message)s') journal_handler.setFormatter(formatter) @@ -87,7 +87,7 @@ if SYSTEMD_AVAILABLE: # Fallback to stderr if JournalHandler fails logging.basicConfig( stream=sys.stderr, - level=logging.DEBUG, + level=logging.INFO, format='%(asctime)s %(levelname)s: %(message)s', datefmt='%Y-%m-%d %H:%M:%S' ) @@ -96,7 +96,7 @@ else: # Fallback to stderr if systemd not available logging.basicConfig( stream=sys.stderr, - level=logging.DEBUG, + level=logging.INFO, format='%(asctime)s %(levelname)s: %(message)s', datefmt='%Y-%m-%d %H:%M:%S' ) diff --git a/requirements.txt b/requirements.txt index 4447b4d..a178b3c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,7 @@ cffi==1.17.1 charset-normalizer==3.4.1 cryptography==44.0.0 idna==3.10 +olefile==0.47 pillow==11.1.0 pycparser==2.22 PyJWT==2.10.1