I want to log to different files in my code.
How can i do that in Log4cxx with xml configuration or programatically in code...
Create Each of the Loggers as normal, and then for each logger add a FileAppender set to the desired file via the Logger.addAppender() method.