On 01:12 am, thomasdra...@gmail.com wrote:
Why not try:

from twisted.python import log

log.err('an error happened')

except you should really only pass Failures to log.err, or None if you're calling it in an `except` block.

Jean-Paul
log.msg('something nice happened')

If you're set on using the logging module, why not read this:

http://twistedmatrix.com/documents/current/core/howto/logging.html

Tad

On Mar 5, 2011, at 5:00 PM, Juan Antonio Iba�ez Santorum wrote:
Hello!

I am running a smaill app using twistd. All works OK except I cannot get debugging messages into the log. I think I may to set logging level but I don't know if possible nor where it can be done. I am using the python logging module. Any help wourd be appreciated.

Regards
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to