I am using log4cxx 0.9.7 version. On dynamically linking to the log4cxx library my C++ application works fine with the logging.

On changing the linking to static log4cxx , I get errors stating that unable to instantiate the class.

Can someone help me to fix this issue ? Thanks a lot in Advance.

To be specific, this is the error I am getting.

My log4j.proerties file is as follows: