On Thu, Mar 27, 2014 at 6:53 AM, Doug Hellmann <doug.hellm...@dreamhost.com>wrote:
> > > > On Wed, Mar 26, 2014 at 2:54 PM, Joe Gordon <joe.gord...@gmail.com> wrote: > >> >> >> >> On Wed, Mar 26, 2014 at 9:51 AM, Doug Hellmann < >> doug.hellm...@dreamhost.com> wrote: >> >>> >>> >>> >>> On Tue, Mar 25, 2014 at 5:34 PM, Brant Knudson <b...@acm.org> wrote: >>> >>>> >>>> >>>> >>>> On Mon, Mar 24, 2014 at 5:49 AM, Sean Dague <s...@dague.net> wrote: >>>> >>>>> ... >>>>> >>>>> Part of the challenge is turning off DEBUG is currently embedded in >>>>> code >>>>> in oslo log, which makes it kind of awkward to set sane log levels for >>>>> included libraries because it requires an oslo round trip with code to >>>>> all the projects to do it. >>>>> >>>>> >>>> Here's how it's done in Keystone: >>>> https://review.openstack.org/#/c/62068/10/keystone/config.py >>>> >>>> It's definitely awkward. >>>> >>> >>> https://bugs.launchpad.net/oslo/+bug/1297950 >>> >> >> Currently when you enable debug logs in openstack, the root logger is set >> to debug and then we have to go and blacklist specific modules that we >> don't want to run on debug. What about instead adding an option to just set >> the openstack component at hand to debug log level and not the root logger? >> That way we won't have to keep maintaining a blacklist of modules that >> generate too many debug logs. >> > > Doing that makes sense, too. Do we need a new option, or is there some > combination of existing options that we could interpret to mean "debug this > openstack app but not all of the libraries it is using"? > > I'm not sure if we need a new option or re-use the existing ones. But the current config options are somewhat confusing. We have separate debug and verbose options. > Doug > > > >> >> >>> >>> >>> Doug >>> >>> >>> >>>> >>>> >>>> - Brant >>>> >>>> >>>> _______________________________________________ >>>> OpenStack-dev mailing list >>>> OpenStack-dev@lists.openstack.org >>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >>>> >>>> >>> >>> _______________________________________________ >>> OpenStack-dev mailing list >>> OpenStack-dev@lists.openstack.org >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >>> >>> >> >> _______________________________________________ >> OpenStack-dev mailing list >> OpenStack-dev@lists.openstack.org >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >> > > _______________________________________________ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev