BIND 10 #764: Conversion of BIND10 Python library to use new logging interface

BIND 10 Development do-not-reply at isc.org
Tue Jul 5 10:02:09 UTC 2011


#764: Conversion of BIND10 Python library to use new logging interface
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  UnAssigned
  stephen                            |                Status:  reviewing
                       Type:         |             Milestone:
  enhancement                        |  Sprint-20110712
                   Priority:  major  |            Resolution:
                  Component:         |             Sensitive:  0
  logging                            |           Sub-Project:  DNS
                   Keywords:         |  Estimated Difficulty:  7.0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by jelte):

 * owner:  jelte => UnAssigned
 * status:  assigned => reviewing


Comment:

 Ready for review.

 There were two libraries that had logging output,
 src/lib/python/isc/config (just 2 messages there actually), and
 src/lib/python/isc/notify. There is one thing slightly different than for
 the python bin/ logs; the compiled message files are written to
 $top_builddir/src/lib/python (instead of $builddir), so we can use them
 both in-tree (for tests) and in install without any workarounds.

 I did have to update src/lib/log/compiler/message for this, it now has a
 new option -d <dir>, which makes it write the output in the given
 directory. If not specified, it'll default to current working directory
 (the old behaviour). I could have left it as it was, and change cwd from
 the makefile, but this seems a less error-prone solution. Changed
 util/filename to change the directory of a filename object.

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


More information about the bind10-tickets mailing list