Twisted starting/stopping factory/protocol less noisy log messages

前端 未结 3 1659
面向向阳花
面向向阳花 2020-12-19 07:26

Is there a way to tell to twistd to not log all factory and protocol start and stop. I use many type of protocols and performs a lot of connections ... and my log file grows

3条回答
  •  情话喂你
    2020-12-19 08:08

    As a more system wide solution you can try the following:

    from twisted.internet.protocol import Factory
    
    Factory.noisy = False
    

提交回复
热议问题