Logging patterns for Sitecore 6.6

While working on the logging configuration for sending messages via email last week, I realised that all the documentation I could find for the <conversionPattern/> element was for a newer version, and this wasn’t helping me work out how to use it.

So with a bit of research, I’ve dug out the important values that can be used in case anyone else needs to configure log messages in older versions of Sitecore: Continue reading

Getting Sitecore log messages by email

Sitecore manages its logging through the Log4Net framework. Out of the box, this is configured to write log data to disk files for you to review. But sometimes you might want to receive your log messages in different ways. Commonly people do stuff like change this to record messages in databases, but when I was asked how to get exception messages via email in Sitecore 6.6 recently, I failed to find any helpful posts.

So if you want to receive log messages via emails, here’s one way of setting it up: Continue reading