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. Home: https://log4cpp.sourceforge.net
Platforms: Linux, Windows, MacOS. New: CMake, CTest support for MS VS 2022, RAD Studio 12
Features
- C++
- C++98 compatible
- Logging
- size rolling files, daily rolling files, syslog, IDSA, smtp, windows eventlog
- Linux, Windows, MacOS
- automake / Autotools
- CMake
License
GNU Library or Lesser General Public License version 2.0 (LGPLv2)Follow Log library for C++
Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime
Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Rate This Project
Login To Rate This Project
User Reviews
-
5 out of 5 starsExcellent library. It doesn't perform like those "fast" c++ libraries, but it makes up for that in ease and flexibility of configuration and use.
-
5 out of 5 starsHelpful
-
1 out of 5 starscan't successfully compile it in MSVC 6
-
5 out of 5 starsI'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).
-
1 out of 5 starsI can't compile the source code under either VC6.0, or Visual Studio 2003, 2005.