Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
8e1f051b
Commit
8e1f051b
authored
Jan 15, 2019
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/logger.py
View file @
8e1f051b
...
...
@@ -21,6 +21,7 @@ def _logger_init():
from
.
import
dobj
res
=
logging
.
getLogger
(
'NIFTy5'
)
res
.
setLevel
(
logging
.
DEBUG
)
res
.
propagate
=
False
if
dobj
.
rank
==
0
:
ch
=
logging
.
StreamHandler
()
ch
.
setLevel
(
logging
.
DEBUG
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment