Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 03, 2011 02:16 PM by XIII
Jun 03, 2011 07:43 AM|LINK
I'm going to add a user action logging mechanism to an existing system, i.e. capabilities to capture when a user changed or deleted something,
I'd like it to be system independent, which approach would you suggest?
Jun 03, 2011 10:13 AM|LINK
Jun 03, 2011 11:49 AM|LINK
thank you, I think that Log4Net is useful while developing the application to track errors, record system messages etc, but I need a flexible plugin for my project as a part of a user management that will help me (site administrator) track changes the users
might have done;
you may think of it as a forum alert system, when somebody say posts a reply to the topic the system records this action into the database and later you can view his action hystory
Jun 03, 2011 01:28 PM|LINK
Jun 03, 2011 02:09 PM|LINK
I'll review the database triggers option, but I'm still looking for the non database solution and as project independent as possible, I'll need it in the future projects, so would be cool to have a standalone .dll that allowed you to keep track of who did
what with what values etc. in a compact manner
Jun 03, 2011 02:16 PM|LINK
you might want to check out Postsharp and its AOP capabilities.
Also take a look at this article:
Aspect-oriented logging for .NET with PostSharp and SmartInspect.