Commit 873890aa authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

empty handlers in logger initialization

parent 888b9f4d
......@@ -42,6 +42,9 @@ def get_logger(name="CSST L1 Pipeline", filename=""):
"""
# initialize logger
logger = logging.getLogger(name=name)
# empty handlers
logger.handlers = []
# set level
logger.setLevel(logging.DEBUG)
# logging formatter
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment