This may be old news for most, but for those of you who have not used log4net, this could be quite beneficial…
Log4net is a complete logging solution to keep a detailed audit log of your application as necessary with a variety of different output sources, namely:
- MS SQL Server
- MS Access
- IBM DB2
So effectively you could delegate for example, all of your error level messages to a database output source and the debug level messages to file or whichever you choose… There are also conversion patterns for you to specify in the configuration file to format how and what data will be written to a file output for example…
Till next time, happy logging...