Skip to content

Commit

Permalink
Set only one handler for logging in k4run (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell authored Apr 25, 2024
1 parent c8760ef commit 6c55ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k4FWCore/scripts/k4run
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def main():
formatter = logging.Formatter("[k4run] %(message)s")
handler = logging.StreamHandler(sys.stdout)
handler.setFormatter(formatter)
logger.addHandler(handler)
logger.handlers = [handler]

from k4FWCore.parseArgs import parser

Expand Down

0 comments on commit 6c55ebd

Please sign in to comment.