log4cxx: configuring appender with arguments
问题 log4cxx's config is read from follow-by xml via: DOMConfigurator::configure("log4cxx.xml"); But, want to have filename set at runtime, and this creates a problem of either having multiple .xmls for reading, or creating one on the fly (in memory/at disk -- no matter where). <appender name="appxNormalAppender" class="org.apache.log4j.FileAppender"> <param name="file" value="appxLogFile.log" /> <param name="append" value="true" /> <layout class="org.apache.log4j.PatternLayout"> <param name=