0
alexnaldo created
Hi,
How I can enable audit for all exception ?
The raise an exception but doesn't appear at Logs table.
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Hi,
Where do you get the exception? In an application service method or MVC Controller? Both normally write errors to audit logs automatically.
BTW, you can handle all exceptions using Exception event: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Handling-Exceptions#DocExceptionEvent">http://www.aspnetboilerplate.com/Pages/ ... ptionEvent</a> then write to logs yourself.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)