Diagnosing Sitecore publishing issues

Every client asks the same questions "Why is content being pushed live before I have approved it" or "I have already re-published. Why is my content not showing?". Generally it is a user error or a misunderstanding of the Sitecore workflow.

In order to quickly remove any uncertainty, Sitecore has provided additional logging that can be enabled to troubleshoot. The traceToLog setting in the Sitecore publishing pipeline gives greater visibility on the inner workings of the publishing process. It does this by providing a very detailed audit log.

Enable the following setting in the Sitecore configuration:

<processor type="Sitecore.Publishing.Pipelines.PublishItem.UpdateStatistics, Sitecore.Kernel" runIfAborted="true">  
   <traceToLog>false</traceToLog>
</processor>