Log4Net & RollingFileAppender to generate Xml files
- by SaguiItay
I've managed to configure Log4Net with a RollingFileAppender in order to generate Xml files.
However, the generated files are not valid XML files until a "roll" is performed - the XML doesn't have a closing XML tag.
Basically, this prevents to files from being read until that are "closed"/"rolled".
Anyone else encountered this issue?
I my previous (custom) solution I had to write the closing tag after writing each entry, and overwrite it with the next entry... :(