How can I disable punjab's twistd log?

22 views
Skip to first unread message

Chongde Lin

unread,
Dec 10, 2014, 10:12:50 AM12/10/14
to punja...@googlegroups.com
Bosh always crash down, due to generate lots of twisted log run out server's storage.
Some twistd logs file has been attached.
Could anybody please help me solve the problem? Thanks very much. 
Bosh generate lots of twistd logs in every hours,as picture below:


When the logs take up all server's storage,the bosh crash down.

punjab.tac as below:


twistd.log.1
twistd.log.2

Christopher Zorn

unread,
Dec 11, 2014, 12:34:14 PM12/11/14
to punja...@googlegroups.com
Hey, there are a couple things you can do. First, it seems you are running it in verbose mode. In the tac file you have HttpbService(1) the parameter is a flag for verbose or not. Change this to a 0. 

This will then only log http requests made. That may be enough for your purposes but you can then change how http logging works but that may require you to write your own observer.



--
You received this message because you are subscribed to the Google Groups "Punjab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to punjab-xmpp...@googlegroups.com.
To post to this group, send email to punja...@googlegroups.com.
Visit this group at http://groups.google.com/group/punjab-xmpp.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages