Log4cplus does not support any kind of XML configuration file. This is because it would require an XML parser and that is a pretty heavy dependency.
As for the filtering using MDC, there is currently no such filter. You would have to implement your own. See the Filter
class.
You can set up log4cplus debugging from property file using log4cplus.configDebug=1
. Or you can set the LOG4CPLUS_LOGLOG_DEBUGENABLED
environment variable to 1
. The former takes precedence over the latter.