git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8b7ba86
)
tweak logging config : *do not* disable other loggers
author
parmentelat
<thierry.parmentelat@inria.fr>
Wed, 16 May 2018 08:11:12 +0000
(10:11 +0200)
committer
parmentelat
<thierry.parmentelat@inria.fr>
Wed, 16 May 2018 08:11:12 +0000
(10:11 +0200)
PLC/Logger.py
patch
|
blob
|
history
diff --git
a/PLC/Logger.py
b/PLC/Logger.py
index
ca85ac9
..
b1268ae
100644
(file)
--- a/
PLC/Logger.py
+++ b/
PLC/Logger.py
@@
-6,7
+6,8
@@
import logging.config
plcapi_logging_config = {
'version' : 1,
plcapi_logging_config = {
'version' : 1,
- 'disable_existing_loggers' : True,
+# we may be imported by something else, like sfa, so do not do that:
+# 'disable_existing_loggers' : True,
'formatters': {
'standard': {
'format': '%(asctime)s %(levelname)s %(filename)s:%(lineno)d %(message)s',
'formatters': {
'standard': {
'format': '%(asctime)s %(levelname)s %(filename)s:%(lineno)d %(message)s',