log level debug --> info

This commit is contained in:
michael 2025-10-23 08:17:21 -05:00
parent 1906861d9f
commit d63b671b01
2 changed files with 5 additions and 4 deletions

View file

@ -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'
)

View file

@ -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