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

Project Activity

See All Activity >

License

GNU Library or Lesser General Public License version 2.0 (LGPLv2)

Follow Log library for C++

Log library for C++ Web Site

Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
★
3
0
0
0
2
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

  • Excellent library. It doesn't perform like those "fast" c++ libraries, but it makes up for that in ease and flexibility of configuration and use.
  • Helpful
    1 user found this review helpful.
  • 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).
    1 user found this review helpful.
  • I can't compile the source code under either VC6.0, or Visual Studio 2003, 2005.
Read more reviews >

Additional Project Details

Operating Systems

BSD, Linux, Server Operating Systems, Windows

Intended Audience

Developers

User Interface

Other toolkit

Programming Language

C++

Related Categories

C++ Software Development Software, C++ Logging Software

Registered

2000-11-23