Search code examples
c++log4cplus

Log4Cplus loading configuration file


I can't figure out how to initialize and load configuration file of log4cplus. Does anyone give me hints ? Thanks in advance. K.


Solution

  • You can use PropertyConfigurator::doConfigure() to load properties file and configure log4cplus using it.