BIND 10 #176: python logging framework

BIND 10 Development do-not-reply at isc.org
Tue Jun 1 14:28:01 UTC 2010


#176: python logging framework
---------------------+------------------------------------------------------
 Reporter:  jreed    |        Owner:  zzchen_pku                                 
     Type:  task     |       Status:  reviewing                                  
 Priority:  major    |    Milestone:  04. 2nd Incremental Release: Early Adopters
Component:  logging  |   Resolution:                                             
 Keywords:           |    Sensitive:  0                                          
---------------------+------------------------------------------------------

Comment(by zzchen_pku):

 Replying to [comment:6 shane]:

 Thanks, Shane.

 > In general, I think this is a good start and should be merged.
 >
 > For the next release, we need to make sure we have more documentation,
 and probably a bit of discussion on a couple of the points below.

 Agree.

 > I see some `print()` in the main function. This is probably okay, but I
 was thinking:
 >
 >   * Maybe some of these should also go to the logging system.
 >   * Maybe these should go to stderr instead of stdout.

 I just did a simple test in Xfrout module, so some 'print' sentences
 haven't been replaced by log yet.


 > In log.py:
 >
 > In the !ModuleLogger class, with the `__init__()` function, we need to
 document that to disable logging set log_file=''.

 Good suggestions, I'll take your advices.

-- 
Ticket URL: <http://bind10.isc.org/ticket/176#comment:9>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list