mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-12 02:22:42 +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:
1 file changed
-2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user