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, vinay.sajip
Date 2016-05-12.08:40:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463042452.48.0.625567779751.issue26999@psf.upfronthosting.co.za>
In-reply-to
Content
I am using loggers and sub-loggers (getChild()) in classes, which contain sub-classes, wich contain sub-sub-classes and so on for complex data processing.
Hence I was using the logging library with sub-loggers to see in which of the (sub-)classes things happen.
Most classes are, however, instanced for different configuration and are represented by strings like {instance_config}@{class_name} where {instance_config} often contains dots as separators for IDs.
Example:

INFO	1000@TerminalsSyncer            :	Aggregating customer data: 1031002@Facebook
INFO	1000@TerminalsSyncer            :	Aggregating virtual data: v60.1031002@Config
INFO	1000@TerminalsSyncer            :	Aggregating virtual data: v60.1031002@Presentation
WARNING	1000@TerminalsSyncer->1.1000@TerminalSyncer:	Terminal 1.1000 is offline


However, if you still think that this is not, what the logging library is meant for, I'd appreciate to know.
History
Date User Action Args
2016-05-12 08:40:52Richard Neumannsetrecipients: + Richard Neumann, vinay.sajip
2016-05-12 08:40:52Richard Neumannsetmessageid: <1463042452.48.0.625567779751.issue26999@psf.upfronthosting.co.za>
2016-05-12 08:40:52Richard Neumannlinkissue26999 messages
2016-05-12 08:40:52Richard Neumanncreate