1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 16:27:13 +03:00

monitor.py: use trace instead debug to log CQC loadgames

This commit is contained in:
norohind 2021-08-10 02:49:58 +03:00
parent ad4304a184
commit a00a677746
Signed by: norohind
GPG Key ID: 01C3BECC26FB59E1

View File

@ -531,7 +531,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
self.cmdr = entry['Commander']
# 'Open', 'Solo', 'Group', or None for CQC (and Training - but no LoadGame event)
if not entry.get('Ship') and not entry.get('GameMode') or entry.get('GameMode').lower() == 'CQC':
logger.debug(f'loadgame to cqc: {entry}')
logger.trace(f'loadgame to cqc: {entry}')
self.mode = 'CQC'
else:
self.mode = entry.get('GameMode')