add the longcfg.xml, change the log4net's output to a file.