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

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 65a1abf4b432 by Vinay Sajip in branch '3.5': Closed #26533: expanded on behaviour of logging.config.listen(). https://hg.python.org/cpython/rev/65a1abf4b432 New changeset abd744bf62fb by Vinay Sajip in branch 'default': Closed #26533: Merged update

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

2016-07-21 Thread Vinay Sajip
Vinay Sajip added the comment: > That's not really what this is about. As I see it, it's about the ability to configure disabling of existing loggers on reconfiguration via the listener. While it can't be done using fileConfig(), it *can* be done using dictConfig(). -- __

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

2016-07-21 Thread Grazfather x
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:

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

2016-07-21 Thread Vinay Sajip
Vinay Sajip added the comment: I think this is just a documentation issue. You can send a dictionary suitable for dictConfig() as JSON over the listen() socket. This is supported by 2.7 and 3.2+ - the documentation doesn't mention this, though. -- _

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

2016-03-14 Thread Patrick Egan
Patrick Egan added the comment: Used proposed method to solve this bug and implemented the extra kwarg disable_existing_loggers to the listen() parameters. -- keywords: +patch nosy: +chillydev Added file: http://bugs.python.org/file42168/Issue#26533.patch __

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

2016-03-10 Thread Ned Deily
Changes by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

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

2016-03-10 Thread Grazfather x
New submission from Grazfather x: logging.config.FileConfig has a kwarg 'disable_existing_loggers' that defaults to False, but when true will allow you to load a config and not disable all other existing loggers. logging.config.listen uses FileConfig, but has no option to provide this keyword