Re: [Twisted-Python] twistd and loglevel question

2016-12-22 Thread Glyph Lefkowitz
> On Dec 22, 2016, at 2:38 PM, Jonathan Vanasco wrote: > > > On Dec 22, 2016, at 5:00 PM, Glyph Lefkowitz wrote: >> Nope. If you want interaction with stdlib logging, there's >> https://twistedmatrix.com/documents/16.6.0/api/twisted.logger.STDLibLogObserver.html >> >>

Re: [Twisted-Python] twistd and loglevel question

2016-12-22 Thread Jonathan Vanasco
On Dec 22, 2016, at 5:00 PM, Glyph Lefkowitz wrote: > Nope. If you want interaction with stdlib logging, there's > https://twistedmatrix.com/documents/16.6.0/api/twisted.logger.STDLibLogObserver.html > and some associated utilites. But that's up to you, not twistd. (Maybe > twistd should star

Re: [Twisted-Python] twistd and loglevel question

2016-12-22 Thread Glyph Lefkowitz
> On Dec 22, 2016, at 1:40 PM, Jonathan Vanasco wrote: > > > On Dec 22, 2016, at 3:33 PM, Glyph Lefkowitz wrote: > >> By "normal" I assume you mean stdlib? No, we don't use stdlib logging. >> >> -glyph > > Yes, thanks! > > I just realized that "if I don't do anything at all", all the stand

Re: [Twisted-Python] twistd and loglevel question

2016-12-22 Thread Jonathan Vanasco
On Dec 22, 2016, at 3:33 PM, Glyph Lefkowitz wrote: > By "normal" I assume you mean stdlib? No, we don't use stdlib logging. > > -glyph Yes, thanks! I just realized that "if I don't do anything at all", all the standard library's logging calls (all imported 3rd party packages) wind up on std

Re: [Twisted-Python] twistd and loglevel question

2016-12-22 Thread Glyph Lefkowitz
> On Dec 22, 2016, at 9:42 AM, Jonathan Vanasco wrote: > > i couldn't find anything in docs/source, but just want to double-check... > > am i correct that there is nothing in `twistd` that will automatically set > the (normal) python logging level based on args/env vars? By "normal" I assume