Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have gridview in MVC.If i insert a new row.Then inserted date should appear in Log file.Please help me.
Posted

1 solution

you can use log4net RollingFileAppender for this task. check below tutorials for how you can configure log4net.
MVC - log4net Controller Action tracing using global filters[^]
Simplest Implementation of log4net[^]
 
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