Log4j based loggers: log4cpp vs log4cplus vs log4cxx

I would like to replace my current registrar, which registers its own C ++ code, with one of the loggers modeled after log4j. I want the registrar to create a log that is formatted as log4j so that it can be viewed using the Log4View viewer.

I am looking for information such as the pros / cons of each and the differences between them.

i.e. any known memory leaks? any performance testing you can report? any known issues that should be taken into account?

+4
source share
1 answer

:

log4cxx: https://logging.apache.org/log4cxx/

  • -
  • / 12 , - 2008 .
  • LogLevels - TRACE, DEBUG, INFO, WARN, ERROR FATAL
  • Apache, , .
  • Apache Portable Runtime (APR)

log4cplus: https://sourceforge.net/projects/log4cplus/

  • / - 2017
  • LogLevels - TRACE, DEBUG, INFO, WARN, ERROR FATAL
  • , .
  • : SimpleLayout, PatternLayout, TTCCLayout
  • Apache V2.0

log4cpp: https://sourceforge.net/projects/log4cpp/

  • , - 2016 .
  • .
  • GNU Lesser General Public License (LGPL) 0.2.1 , GPL.
+21

All Articles