BIND 10 #755: Python logging - produce dictionary from message file

BIND 10 Development do-not-reply at isc.org
Thu Jun 2 19:07:22 UTC 2011


#755: Python logging - produce dictionary from message file
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  UnAssigned
  stephen                            |                Status:  reviewing
                       Type:         |             Milestone:
  enhancement                        |  Sprint-20110614
                   Priority:  minor  |            Resolution:
                  Component:         |             Sensitive:  0
  logging                            |           Sub-Project:  DNS
                   Keywords:         |  Estimated Difficulty:  0.0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by vorner):

 * owner:  vorner => UnAssigned
 * status:  accepted => reviewing


Comment:

 Hello

 I implemented it. There were no tests for the message compiler and I
 followed the tradition, mostly because we don't really ship this code, we
 use it as our compilation tool.

 The idea is that there'll be a isc.log.message.Message class (it's not
 written yet, not part of this ticket, but for this reason, the generated
 file won't compile yet). It'll hold the message and register itself
 somewhere at creation time (preferably as some kind of weak reference, in
 case we allow unloading modules in future), so the message can be replaced
 by some dictionary.

 Is this approach OK?

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


More information about the bind10-tickets mailing list