Tag Archives: Log4Net

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 , , , , , | 3 Comments

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 , , | 3 Comments

Sitecore remove “Job started” and “Job ended” from log files

In large Sitecore installations with many background tasks you will find the following log lines over and over again: ManagedPoolThread #1 10:26:05 INFO Job started: xxxxx ManagedPoolThread #5 10:26:05 INFO Job ended: xxxxx (units processed: ) This is the Sitecore … Continue reading

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

Using the Sitecore Audit Log

I guess your code contains just as many log messages as my code does: And the exception is written to the log: In previous versions, the Audit log was a seperate log. But now it’s all handled by Apache Log4Net. So … Continue reading

Posted in c#, Sitecore 6 | Tagged , , , , | 1 Comment