Hi Guys,

I'd like to get ticket 4021 integrated in some fashion into Twisted. Currently, 
the Twisted Names client issues a "starting" and "stopping" log message on 
every resolution. It fills up the logs and makes seeing valuable log messages 
really difficult in the sea of DNS requests. 150,000 resolutions per day is 
generating 700mb of logs just from the start/stop. 

The problem is actually the UDP datagram transport that Resolver is based on. 
4021 proposes to address the issue by wrapping the two log lines with "if 
self.noisy". 

I'd advocate this solution as it leverages the noisy attribute already expected 
to tamp down log chattiness. Also, it requires the smallest amount of code 
change as opposed to implementing a filter on the logging system. 

Honestly this has been a problem for me on more than one project I've used the 
Names client in. It's just untenable in a project with a high volume. 

Jean-Paul asked me to bring this up for discussion if I wanted to fix it. What 
do others think?

-J

Sent via iPhone

Is your e-mail Premiere?
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to