From: <log...@li...> - 2015-03-16 01:11:32
|
On 3/15/15, 7:25 PM, "log...@li..." <log...@li...> wrote: >It appears it would make sense for each transaction state machine to >have its own log category, as the log messages can then be grepped for >and it ensures *every* log message from that log instance will have the >ID prepended. I think you want to use a diagnostic context, not a category. Just push and pop the ID with the NDC routines. (And you can't really destroy a category, so that's why it's a bad choice to use that.) -- Scott |