Skip to content
Snippets Groups Projects
Commit 01d00e76 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Disabled stdou loghandler.

parent 2a59119a
Branches
Tags
No related merge requests found
import logging
# create console handler with a higher log level
ch = logging.StreamHandler()
ch.setLevel(logging.INFO)
# ch = logging.StreamHandler()
# ch.setLevel(logging.WARNING)
logger=logging.getLogger("nomadcore")
logger.setLevel(logging.WARNING)
logger.addHandler(ch)
# logger.addHandler(ch)
logger2=logging.getLogger("nomad")
logger2.setLevel(logging.WARNING)
logger2.addHandler(ch)
# logger2.addHandler(ch)
def debugToFile():
"makes a full log to a file named detailed.log"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment