Azure and Built-In Logging

Posted by Community Admin on 05-Aug-2018 02:54

Azure and Built-In Logging

All Replies

Posted by Community Admin on 02-Jul-2015 00:00

var logEntry = new LogEntry
  Severity = TraceEventType.Error,
  Message = "Manual Log"
;
Log.Write(logEntry, ConfigurationPolicy.ErrorLog);

 

Doesn't work, nor does it seem to log unhandled (in code) exceptions. Your system, which seems to be based on the Enterprise library, fails in the Azure environment for me. I was wondering if there was any feedback I could get on this matter.

 

Using elmah, and not integrating with Sitefinity according to your documentation, I am able to get some sort of error handling,.

Posted by Community Admin on 06-Jul-2015 00:00

Hi Merritt,

Please note that by default Sitefinity logs the errors in ~\App_Data\Sitefiniy\Logs folder. However, when deployed on Azure the logs are written in the Azure Storage.

Please refer to the below article for more details on how you can access and download the log files using the "Azure Storage Explorer" tool:

How to get the error log from Sitefinity deployment to Azure

Regards,
Sabrie Nedzhip
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 23-Mar-2016 00:00

That doesn't actually work. For instance, if you get a controller error ("Error in controller, see log for details"), it isn't written to the log. You can't even try/catch whatever that exception is. Just, nothing.

Posted by Community Admin on 28-Mar-2016 00:00

Hello Andrew,

I have just replied in the forum thread you have opened related to this:

http://www.sitefinity.com/developer-network/forums/developing-with-sitefinity-/azure-error-logs---error-in-controller-see-log-for-details

Regards,
Sabrie Nedzhip
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed