[Twisted-Python] twisted.logger and log filtering in twistd plugin
Louis D. Burr
ldanielburr at me.com
Mon Feb 1 07:52:38 MST 2016
Hi Patryk,
> On Feb 1, 2016, at 8:45 AM, Patryk Ściborek <patryk at sciborek.com> wrote:
>
> Hi Guys!
>
> I'm using twisted.logger in my new app. I'm running it as a twistd plugin and I don't know how to enable log message filtering. I know that twistd still uses twisted.python.log but I have to disable debug messages somehow. What's the best way to do that in my ServiceMaker?
>
> Best regards,
> Patryk
Best bet is to look into the —logger parameter which you can use to pass a custom logger to twistd.
Hope this helps,
Daniel
--
L. Daniel Burr
ldanielburr at me.com
(312) 656-8387
More information about the Twisted-Python
mailing list