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

BIND 10 Development do-not-reply at isc.org
Sat Mar 26 18:16:48 UTC 2011


#755: Python logging - produce dictionary from message file
-------------------------------------+-------------------------------------
           Reporter:  stephen        |                      Owner:
               Type:  enhancement    |                     Status:  new
           Priority:  minor          |                  Milestone:  Year 3
          Component:  logging        |  Task Backlog
          Sensitive:  0              |                   Keywords:
Add Hours to Ticket:  0              |  Estimated Number of Hours:  0
        Total Hours:  0              |                  Billable?:  1
                                     |                  Internal?:  0
-------------------------------------+-------------------------------------
 Python logging needs to be the same as C++ logging in that the messages
 should be defined in an external message file.  However, the
 implementation has not yet been defined, although the suggestion is that
 the message file be converted into a Python module that defines the
 message file identifiers as constants and equates them to strings (e.g.
 the line
 {{{
 FILWRTERR file write error
 }}}
 ... would become...
 {{{
 class <whatever>:
     FILWRTERR = "file write error"
 }}}

 This task involves extended the message compiler so that it can convert a
 message file into a python module.

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


More information about the bind10-tickets mailing list