I have an asp.net web application backed by SQL Server 2005, and I want to log a lot of application layer things like
- Account creations
- Account permission changes
- Password changes/resets
- Certain application actions taken by a user (e.g. modified some setting in the application)
Logging these things will probably end up being about 200mb-1gb per day of data and growing (spread across multiple servers).
How would I go about adding this type of logging functionality into my application?
You can log this information with log4net as info. Using RollingFileAppender you will be able to limit the log size. Check this question for more information.