1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 08:40:34 +03:00

logging: Don't force DEBUG if not TRACE

This was overriding the user-configured log level for the plain log
output.  The debug output still has DEBUG or TRACE as requested.
This commit is contained in:
Athanasius 2021-08-06 09:06:54 +01:00
parent c4c859e2d2
commit 6e7ef6d80d
No known key found for this signature in database
GPG Key ID: AE3E527847057C7D

View File

@ -126,8 +126,6 @@ if __name__ == '__main__': # noqa: C901
if args.trace:
logger.setLevel(logging.TRACE)
edmclogger.set_channels_loglevel(logging.TRACE)
else:
edmclogger.set_channels_loglevel(logging.DEBUG)
if args.force_localserver_for_auth:
config.set_auth_force_localserver()