A library of C++ classes for flexible logging to files (rolling), syslog, IDSA and other destinations. It is modeled after the Log for Java library (http://www.log4j.org), staying as close to their API as is reasonable.
Platforms: Linux, Windows (VS2010). New: DailyRollingFileAppender
- size rolling files, daily rolling files, syslog, IDSA, smtp, eventlog
- Linux, Windows
Follow Log library for C++
Rate This ProjectLogin To Rate This Project
can't successfully compile it in MSVC 6
I've gave it a thumbs down but it's only because the release tarball isn't being properly maintained and I'm being forced to be a maintainer when I don't want to be. It's part of a larger failure of the C++ community where they don't want to just take one c++ version of log4j and bless it, in say in boost. log4cxx has similiar problems with a lot of extraneous dependencies. I've been using this for some time but now getting segfaults during the execution of Category shutdown. It doesn't actually build on debian or redhat but was able to work around that and use because the debian package installed and could fudge the install from debian to redhat. However I've gotten the head from CVS and it does build on lenny but not on VS 2005 (or presumably later).
I can't compile the source code under either VC6.0, or Visual Studio 2003, 2005.