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 committed 2021-08-06 09:06:54 +01:00
1 parent c4c859e2d2
commit 6e7ef6d80d
1 file changed
-2
-2
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()