[issue26533] logging.config does not allow disable_existing_loggers=True

Grazfather x report at bugs.python.org
Thu Jul 21 18:00:49 EDT 2016


Grazfather x added the comment:

That's not really what this is about. This is about setting up the listener so that by default that setting is used.

In logging/config.py:

```python
def listen(port=DEFAULT_LOGGING_CONFIG_PORT, verify=None):
...
                            try:
                                fileConfig(file)
                            except Exception:
                                traceback.print_exc()
...

def fileConfig(fname, defaults=None, disable_existing_loggers=True):
...
```

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26533>
_______________________________________


More information about the Python-bugs-list mailing list