1

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

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

1 Comment

log4cplus::PropertyConfigurator::doConfigure("D:/Test/log4cplus_configure.ini");

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.