Tag Archives: Logging

Sitecore and Application Insights – How to remove 90% of all log lines without sacrificing traceability

In this article I will explain how you can remove up to 90% of all log lines from the Application Insights log, but still keep every log line in the file log. All of this without loosing any important information. … Continue reading

Posted in Microsoft Azure, Sitecore 8, Sitecore 9 | Tagged , , , , , | 1 Comment

Sitecore logging – Create new log file every day

Sitecore have since forever used Log4Net as it’s logging platform. Log4Net is nicely extensible and can be configured to log in many ways. As per default, Sitecore is configured to start writing to a new log file every time Sitecore … Continue reading

Posted in Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , , | 2 Comments

Sitecore 9 Dependency Injection – Extend the Sitecore Logging

With the extended use of Dependency Injection (DI) in Sitecore 9, you have yet another tool to extend the Sitecore functionality. With DI you can basically replace or extend standard Sitecore functionality with your own code. Dependency Injection is not a … Continue reading

Posted in .net, c#, General .NET, Sitecore 9 | Tagged , , , | 1 Comment