From: Yann L. <as...@la...> - 2010-09-29 05:08:10
|
On 09/29/2010 12:29 AM, Jaikit Savla wrote: > I wanted to log all the xmpppy interactions using Debug class. I > initialized my client using xmpp.Client class: "self.jabber = > xmpp.Client(jid.getDomain) # , debug=[]" > > I can see all the messages on console. But how do I redirect all the > console message to log file ? Any clue ? use bash redirect: python myapp.py 2> file.log -- Yann |