This post comprises of a simple Configuration file and how it can be incorporated to a c++ code file for using the log4cxx framework.
Add the following simple xml Configuration file and name it as "MyLog4CxxConfig.xml"
<?xml version="1.0" encoding="UTF-8" ?>
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">