vcsharp
  •  vcsharp
  • 88.4% (Honored)
  • YAF Commander Topic Starter
2017-11-06T17:08:25Z
I am trying to find the log file or table where exception and info logging is being done in YAF.
Is it some logging framework or inbuilt .Net logging?

For example, when an error happens in YAF, user sees the Error.aspx, but is there any logging of the error being done? I need to view errors on a regular basis to check if the site is running well.
Sponsor
tha_watcha
2017-11-06T21:10:57Z
All errors are logged to the event log table. And can be viewed from within the admin interface.

Or you go directly to the windows event log.
UserPostedImage
vcsharp
  •  vcsharp
  • 88.4% (Honored)
  • YAF Commander Topic Starter
2017-11-07T03:38:36Z
Can I also have the exception details emailed to a list of email addresses whenever an exception occurs?
tha_watcha
2017-11-07T06:11:15Z
Originally Posted by: vcsharp 

Can I also have the exception details emailed to a list of email addresses whenever an exception occurs?



No such option does not exist.


UserPostedImage
vcsharp
  •  vcsharp
  • 88.4% (Honored)
  • YAF Commander Topic Starter
2017-11-07T08:24:43Z
Exception emails are a good idea since the exception becomes more noticed and visible, unlike parsing manually a text file or table of logs.

I have not tried, but I will plugin the ELMAH logging library. If it works, then I would prefer to turn off yaf's inbuilt logging.

Is there a way to turn yaf logging off?
tha_watcha
2017-11-07T08:31:48Z
Originally Posted by: vcsharp 

Exception emails are a good idea since the exception becomes more noticed and visible, unlike parsing manually a text file or table of logs.

I have not tried, but I will plugin the ELMAH logging library. If it works, then I would prefer to turn off yaf's inbuilt logging.

Is there a way to turn yaf logging off?



Yes you can completely disable logging in yaf in the Host Settings in the Logs tab


UserPostedImage

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved