Skip to content

Commit 1b908da

Browse files
committed
Remove code that incorrectly (and needlessly) reset the log level.
1 parent 0908adc commit 1b908da

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

cime_config/create_readnl_files.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -930,16 +930,6 @@ def __init__(self, args, description, schema_paths=None, logger=None):
930930
else:
931931
self.__outdir = args.output_dir
932932
# end if
933-
if logger:
934-
if args.debug:
935-
loglevel = logging.DEBUG
936-
elif args.quiet:
937-
loglevel = logging.ERROR
938-
else:
939-
loglevel = logging.INFO
940-
# end if
941-
logger.setLevel(loglevel)
942-
# end if
943933
self.__scheme_read_file = None
944934
self.__nlfile_arg = "nlfile"
945935
self.__active_schemes_arg = "active_schemes"

0 commit comments

Comments
 (0)