Message265312
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. |
|
Date |
User |
Action |
Args |
2016-05-11 13:11:07 | Richard Neumann | set | recipients:
+ Richard Neumann |
2016-05-11 13:11:07 | Richard Neumann | set | messageid: <1462972267.52.0.758666146863.issue26999@psf.upfronthosting.co.za> |
2016-05-11 13:11:07 | Richard Neumann | link | issue26999 messages |
2016-05-11 13:11:07 | Richard Neumann | create | |
|