This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Richard Neumann
Recipients Richard Neumann
Date 2016-05-11.13:11:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462972267.52.0.758666146863.issue26999@psf.upfronthosting.co.za>
In-reply-to
Content
Currently Python's logging library has the Child-Separator hard-coded in Logger.getChild() as '.'.
It would be useful to have the ability to preset this via an optional basicConfig() argument like 'child_sep=' and preset it to '.' to retain the current behaviour.
In my case I will need to monkey-patch the getChild() method to use a different separator ('->') because I use '.' for different purposes within the loggers' names.
The current behaviour would lead to ugly and mistakable output.
History
Date User Action Args
2016-05-11 13:11:07Richard Neumannsetrecipients: + Richard Neumann
2016-05-11 13:11:07Richard Neumannsetmessageid: <1462972267.52.0.758666146863.issue26999@psf.upfronthosting.co.za>
2016-05-11 13:11:07Richard Neumannlinkissue26999 messages
2016-05-11 13:11:07Richard Neumanncreate