Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Can anybody tell me where do we stored Exceptions occured at Catch block...?
I heared that we can Store exceptions in 'log4net'.But where we store exceptions exactly in C#,please can anybody tell me briefly?..



Thanks
Ganesh
Posted
Updated 15-Jul-12 23:04pm
v2
Comments
Phrone 16-Jul-12 5:28am    
If I'm correct, log4net is used in Apache web server.

Is it in a web application or a Windows application that you want to store logs?
Ganesh_mca 16-Jul-12 5:32am    
Both..

1 solution

Hi,

log4net can be used to log anything including exceptions in your .net application; You can create log files in your physical drive. Please find the details below.

log4net Tutorial[^]

How to use log4net[^]

Regards
Sebastian
 
Share this answer
 
Comments
Ganesh_mca 16-Jul-12 5:35am    
Where we store Exceptions?
Sebastian T Xavier 16-Jul-12 5:43am    
you can store it as text files in your hard disk itself.

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