Skip to content

Commit

Permalink
f r's
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Jenvey <[email protected]>
  • Loading branch information
jrconlin and pjenvey authored May 22, 2024
1 parent b1b2e7d commit d34feda
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/tokenserver/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ def configure_script_logging(opts=None, logger_name=""):
max(logging.DEBUG, logging.WARNING - (verbosity * 10)) or \
logger.getEffectiveLevel()

# if we've already written a log message, the handler may already
# be defined. We don't want to duplicate messages if possible, so
# check and potentially adjust the existing logger's handler.
# if we've previously setup a handler, adjust it instead
if logger.hasHandlers():
handler = logger.handlers[0]
else:
Expand Down

0 comments on commit d34feda

Please sign in to comment.