BIND 10 #756: Python logging - produce API
BIND 10 Development
do-not-reply at isc.org
Sat Mar 26 18:20:55 UTC 2011
#756: Python logging - produce API
-------------------------------------+-------------------------------------
Reporter: stephen | Owner:
Type: enhancement | Status: new
Priority: major | 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
-------------------------------------+-------------------------------------
Updating the Python logging code and tying it in with the message
definition modules produced in ticket #755 to produce an API similar to
that used in C++. For example, logging an informational message might
look something like:
{{{
logging.info(STARTED, "10.0.1")
}}}
(where 'STARTED' might be a message line 'BIND version %s started')
Note that the package needs the same severity and facility filtering as
found in C++ (see the README file in src/lib/log for details).
--
Ticket URL: <http://bind10.isc.org/ticket/756>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list