Skip to content

Commit

Permalink
Use logging module for python logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener authored Feb 28, 2025
1 parent 8b7285f commit 4a466de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/k4FWCore/ApplicationMgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _setup_reader(self, reader, iosvc_props):
logger.debug("Using the first frame to determine collections to read")
collections = list(frame.getAvailableCollections())
except IndexError:
print("Warning, the events category wasn't found in the input file")
logger.warning("Warning, the events category wasn't found in the input file")
raise
logger.info(f"Passing {collections} as collections to read to the Reader")
reader.InputCollections = collections
Expand Down

0 comments on commit 4a466de

Please sign in to comment.