Commit 8e1f051b authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'logger2' into 'NIFTy_5'

try different aproach to fix logging

See merge request ift/nifty-dev!171
parents 5689ba2d ecc45cd8
...@@ -21,6 +21,7 @@ def _logger_init(): ...@@ -21,6 +21,7 @@ def _logger_init():
from . import dobj from . import dobj
res = logging.getLogger('NIFTy5') res = logging.getLogger('NIFTy5')
res.setLevel(logging.DEBUG) res.setLevel(logging.DEBUG)
res.propagate = False
if dobj.rank == 0: if dobj.rank == 0:
ch = logging.StreamHandler() ch = logging.StreamHandler()
ch.setLevel(logging.DEBUG) ch.setLevel(logging.DEBUG)
......
Markdown is supported
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