Skip to content
Snippets Groups Projects
Commit 4a2bf0d8 authored by Marko Petric's avatar Marko Petric Committed by Andre Sailer
Browse files

logging format

parent 570df784
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,9 @@ def run(): ...@@ -14,7 +14,9 @@ def run():
install_dir = os.environ['DD4hepExamplesINSTALL'] install_dir = os.environ['DD4hepExamplesINSTALL']
kernel.loadGeometry("file:"+install_dir+"/examples/OpticalSurfaces/compact/OpNovice.xml") kernel.loadGeometry("file:"+install_dir+"/examples/OpticalSurfaces/compact/OpNovice.xml")
logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.DEBUG) logging.basicConfig(format='%(levelname)s: %(message)s')
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
if __name__ == "__main__": if __name__ == "__main__":
run() run()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment