pulp/pulp — pull request #390 by jdob (2013-03-20 13:50:24+00:00)
Title: 923402 - Reduce logging level from DEBUG to INFO

https://bugzilla.redhat.com/show_bug.cgi?id=923402

Snippet from the BZ entry:

The db.cfg only defines loggers for qualname db. That means that platform migrations, under the pulp package, bubble up to the root logger. That omission is somewhat irrelevant; even if it was added, plugin migrations won't be under the pulp package and still have this behavior (for instance, yum plugin migrations originate under pulp_rpm).

From the python docs:
"If the root is reached, and it has a level of NOTSET, then all messages will be processed. Otherwise, the root’s level will be used as the effective level."

So during DB migration, all of the migrations are reaching root and getting processed by the levels in the handlers themselves.

I'm hesitant to change root's NOTSET value. In theory that should be fine, but I'm still cautious. Instead, I'm changing the handlers to be INFO instead of DEBUG and let it be controlled there.

The change was made to both db.cfg and basic.cfg. I also deleted debug_sync.cfg which is a carry over from v1.