Re: [Twisted-Python] running twisted with supervisord -- logging question

2014-08-25 Thread Jonathan Vanasco
Thanks Hynek and Christopher. Hynek- That's basically what I want -- but i am always quickly LOST when it comes to logging. It is my weakness. Christopher-- The code is definitely contradicting me. I am admittedly lost. I'll have to play around with this more in depth later -- but now I have

Re: [Twisted-Python] running twisted with supervisord -- logging question

2014-08-23 Thread Hynek Schlawack
Jonathan, On 24 Aug 2014, at 1:46, Jonathan Vanasco wrote: Thanks for the insight. I was stupid and didn't include my code. I don't actually want supervisor to handle the logging. I wanted to have this app's logs in /var/log/myapp-twisted/twisted.log I just can't figure out how to make th

Re: [Twisted-Python] running twisted with supervisord -- logging question

2014-08-23 Thread Christopher Armstrong
On August 23, 2014 at 6:50:32 PM, Jonathan Vanasco (twisted-pyt...@2xlp.com) wrote: Christopher- Thanks for the insight.  I was stupid and didn't include my code. I don't actually want supervisor to handle the logging.  I wanted to have this app's logs in /var/log/myapp-twisted/twisted.log I j

Re: [Twisted-Python] running twisted with supervisord -- logging question

2014-08-23 Thread Werner Thie
Hi that's what I use in my .tac files application = service.Application(mainPkgName) #use this code below to configure logging in all aspects; keep in mind #that for the log rotating code the #access rights must be set such that the process has write access to #the log directory. A trick to

Re: [Twisted-Python] running twisted with supervisord -- logging question

2014-08-23 Thread Jonathan Vanasco
Christopher- Thanks for the insight. I was stupid and didn't include my code. I don't actually want supervisor to handle the logging. I wanted to have this app's logs in /var/log/myapp-twisted/twisted.log I just can't figure out how to make this happen. i've been playing with different perm

Re: [Twisted-Python] running twisted with supervisord -- logging question

2014-08-22 Thread Christopher Armstrong
On August 22, 2014 at 6:52:02 PM, Jonathan Vanasco (twisted-pyt...@2xlp.com) wrote: hoping someone can answer this question-  i can't seem to get my logging right while using supervisord  i'm not using twisted logging, just the regular python logging infrastructure.  the two end-results I've