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:
parent
c4c859e2d2
commit
6e7ef6d80d
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user