C++ logging framework suggestions

c++, logging

Solution

Not sure about the configuration from a UI or CLI. I've used both of these logging frameworks at one point or other.

https://sourceforge.net/projects/log4cplus/ https://logging.apache.org/log4cxx/index.html

It wouldn't be too hard to drive your logging based on a configuration file that could be editable by hand or through a quick and dirty GUI or CLI app. Might be a bit harder to adjust these dynamically but not too bad.

Update:

It looks like the proposed Boost.Log is now in Boost 1.54 which is at a stable release. If you are already using Boost than I would take a look at it.

Problem

I'm looking for a C++ logging framework with the following features: - logs have a severity (info, warning, error, critical, etc) - logs are tagged with a module name - framework has a UI (or CLI) to configure for which modules we will actually log to file, and the minimum severity required for a log to be written to file. - has a viewer which lets me search per module, severity, module name, error name, etc

Original source