On Fri, 9 Nov 2012 15:57:52 +0900
OHMURA Kei <[email protected]> wrote:

>> +    def log_show(self):
>> +        for name, l in logging.Logger.manager.loggerDict.iteritems():
>> +            if name.startswith('ryu.') and isinstance(l, logging.Logger):
>> +                self.stdout.write('%s\t%s\n' %
>> +                                  (name, logging.getLevelName(l.level)))
> 
> Should we show the RootLogger level? IIUC, all loggers print DEBUG
> statements, when we set the RootLogger level to the DEBUG.

I've just tried. Even if I set the RootLogger level to DEBUG at
startup, I'm still able to overwrite the logger level per Logger.
So I'm not sure we need to show the RootLogger here.

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to