In our development environment we use log4net to write logfiles. The logfiles are formatted as plain text.
In our production environment the logfiles are read with notepad. Not the best choice but for now the only choice since it is not allowed to install extra software to make the logfiles easier to read.
I know it's possible to generate XML files with log4net but never gave it much thought until I read about log4xsl."log4xsl is a XSL for viewing XML files generated by the log4net library. Column headers (Severity, Username, Date, etc.) can be made dynamically visible/invisible, settings are stored in a cookie, log event and detail organized in one window, etc."
Although not checked I expect the logfiles to be bigger but that seems a minor issue compared to what you get in return. The image below is a screenshot from the downloaded sample. A Quickstart Guide on how to configure log4net can be found on the log4xsl website.
The content of this site are my own personal opinions and do not represent my employer's view in anyway. In addition, my thoughts and opinions often change, and as a weblog is intended to provide a semi-permanent point in time snapshot you should not consider out of date posts to reflect my current thoughts and opinions.