On 24 Nov, 11:55 pm, jonas.brunsga...@gmail.com wrote:
Does anyone know if there are any plans to update, the logging system
in twistd at some point, so it integrates better with native python
logging
system?
What does "integrates better" mean?
I have to use the following logging scheme (glog - google logging)
I1125 00:38:34. 309273 140138991519488 log.py:443] Main loop
terminated.
I1125 00:38:34. 309624 140138991519488 log.py:443] Server Shut Down.
I1125 00:41:09. 665297 140705081902848 log.py:443] Loaded.
would the easiest way to accomplich this be to just implement a
logger and use the --logger option with twisted?
Idealy I also need more log levels, is that possible?
twisted.python.log doesn't explicitly support log levels. Instead, it
supports arbitrary structured data (log levels are one example of this).
log.msg(level="DEBUG", ...)
What else are you looking for?
Jean-Paul
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python