Click here to Skip to main content
15,905,781 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

I need to Create Log for my ASP.NET application that includes all details like who is log on into server, what are all the events he does, how long he is available...etc

Am i need to make entry for each and every action of user into DATABASE ??
or else
Is there any other simple method to maintain it ?


Please give your suggestions....
Posted

Yes.
If you do not make the appropriate entries, who do you expect to do it?
 
Share this answer
 
Comments
J.Karthick 17-Aug-11 5:22am    
Don't you know about "Event Viewer" in Windows OS ??

That's what i'm asking, Is there any other methods to do it like that...
You could also use a third party tool like log4Net to do logging on the client side.
 
Share this answer
 
 
Share this answer
 
Comments
J.Karthick 17-Aug-11 5:15am    
Thanks for your links....its very useful for me
ELMAH[^] is the best logging library to use for Asp.NET applications.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900