[bind10-dev] consider log4cplus for logging

Stephen Morris stephen at isc.org
Wed Apr 27 13:27:44 UTC 2011


On 27/04/2011 12:38, Jeremy C. Reed wrote:
> We should also consider testing log4cplus.
> 
> http://log4cplus.sourceforge.net/
> 
> It is a port of log4j to C++ originally started in 2004. The original 
> source used to be the Apache Standard License 1.1, then that license 
> changed to ASL 2.0. The new parts done from scratch are licensed under a 
> BSD license. It has had releases in 2004, 2009, 2010, and 2011.
> 
> A feature list is at:
> 
> http://log4cplus.sourceforge.net/projstatus.html
> 
> It also includes log rotation (it called it "rolling").
> 
> It has been tested on various platforms including Windows. I emailed the 
> main developer and he was quick to respond.

I'm happy to try it, but before I do, can we check the platforms? (I
would like to avoid the problems we had with log4cxx.)  According to the
documentation, it:

"Compiles on GNU/Linux (GCC 4.1.2), FreeBSD and Windows (MSVC 8.0)"

In particular, does it work on OS X and does it work with CLang and
SunStudio?


> The log4cplus is used in HP Remote Graphics Software (Catia), Sybase 
> Open Server, McAfee ePolicy Orchestrator, Chase Paymentech / NetConnect 
> SDK, ParaXip Gateway / Sangoma Express Gateway, and many other 
> commercial projects.

Well it seems to have some pedigree, so I guess it would be OK for us.
However, we're back to the question of dependencies.  Would we include a
version of the software in our distribution or would we require that it
be retrieved from the sourceforge site?

However, using BIND 9 logging is also a possibility - see the comments
in ticket 735 (http://bind10.isc.org/ticket/735).

What do people think? Ideally we should make a decision before the
sprint planning meeting next week.

Stephen




More information about the bind10-dev mailing list