Hello!

Is it possible to print multiline debug messages into log?

If print a query it looks like this


2010-05-06 10:10:07 [HTTPChannel,0,192.168.2.15]                     SELECT *
2010-05-06 10:10:07 [HTTPChannel,0,192.168.2.15]
FROM foo AS a
2010-05-06 10:10:07 [HTTPChannel,0,192.168.2.15]
JOIN bar AS b ON a.id = b.id
2010-05-06 10:10:07 [HTTPChannel,0,192.168.2.15]
WHERE a.id = 1
2010-05-06 10:10:07 [HTTPChannel,0,192.168.2.15]
ORDER BY id DESC
2010-05-06 10:10:07 [HTTPChannel,0,192.168.2.15]                     LIMIT 1;


it would be more practical to have only the query without timestamp on
other things

Thanks!

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

Reply via email to