[bind10-dev] Planning for next sprint - input required
Stephen Morris
stephen at isc.org
Tue Nov 30 12:17:56 UTC 2010
On 30 Nov 2010, at 11:30, Jerry wrote:
>> I agree, and in case you were not aware of it there's already a python
>> version of logging framework for BIND 10 (src/lib/python/isc/log/).
>
> Currently, the python logging framework only used by Xfrout module, there is
> a need to apply logging in all other python modules.
Agreed.
>
>> For C++, there's a proposal of logging framework for boost
>> (http://boost-log.sourceforge.net/), but it doesn't seem to be merged
>> to the official boost libraries. It also requires compiled library of
>> boost (according to the documentation), so it's probably not suitable
>> for us. We could port BIND 9's logging framework, although this may
>> be one of the areas where we don't like to take an in-house approach.
>
> I am not sure if we should port BIND 9's logging framework, but at least
> there are so many sexy features that we can learn from.
There are many C++ logging frameworks. Ones I've had a quick look at are:
Google log (http://code.google.com/p/google-glog)
Log4cpp (http://log4cpp.sourceforge.net)
Log4cplus (http://log4cplus.sourceforge.net)
Log4cxx (http://logging.apache.org)
Pantheios (http://pantheios.sourceforge.net)
Boost (http://boost-log.sourceforge.net)
I think we should define our own requirements first, then make a selection.
To minimise the dependency on external software we might want to define our own API and implement it in terms of a chosen package - that will make it simpler to switch if we want to do so in the future.
Stephen
More information about the bind10-dev
mailing list