What is boto.perflog?

55 views
Skip to first unread message

Chris Moyer

unread,
Oct 3, 2012, 1:56:33 PM10/3/12
to boto...@googlegroups.com
A ton of logs just started showing up under boto.perf, I noticed there's a new boto.perflog that appeared, which is really polluting logs with a large amount of performance log checking. Was this something that wasn't intended to be active by default, or was it something that was intended to not be checked in?

--
Chris Moyer

Mitchell Garnaat

unread,
Oct 3, 2012, 2:00:58 PM10/3/12
to boto...@googlegroups.com
It was added with this commit:


prior to the 2.6.0 release and provides a nicer solution to some DynamoDB performance logging.  It appears from the commit that it is attempting to assign a NullHandler as the default handler and I haven't noticed any promiscuous logging in my dev environment.  Let's try to track this down, though.  Definitely not intended behavior.

MItch

jtlebi

unread,
Oct 6, 2012, 2:54:01 PM10/6/12
to boto...@googlegroups.com, mi...@garnaat.com
I added boto.perflog for profiling purpose. I wanted it separated from the main logger to avoid being flood by logs when only seeking for request-id along with the associated RTT. It sounds like I partially missed the target :/ sorry.

Anyway, I have a pending pull request which addresses this by moving it from "INFO" to "DEBUG" level, which, by the way, is much more logical. Additionally, this PR re-factors the logger handler, thus helping to tweak this. (https://github.com/boto/boto/pull/991)

--
Jean-Tiare
Reply all
Reply to author
Forward
0 new messages