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

Features

  • C++
  • Logging
  • size rolling files, daily rolling files, syslog, IDSA, smtp, eventlog
  • Linux, Windows
  • automake

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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
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

Win32 (MS Windows)

Programming Language

C++

Related Categories

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

Registered

2000-11-23