[Twisted-Python] logging question

Jeffrey Ollie jeff at ocjtech.us
Tue Nov 15 09:36:12 MST 2011


I'm using twisted.python.log to do some logging in an application.
It's formatting the output like "<date> [-] <mymessage>".  I've seen
in some of my other applications that the contents of "[-]" can change
depending on how the code is reached.  Is there a way that I can
customize this in my application?  I'd like to change the contents to
reflect the particular object that is generating the log message.

-- 
Jeff Ollie




More information about the Twisted-Python mailing list