Dedicated Publish Log

There is now a separate publishing log in Sitecore 7.2. Any operations happening as part of the publishing pipeline will now log to this file. This includes AUDIT entries. Mainly for backwards compatibility reasons, the main log.txt will still show main publishing related entries.

The verbose publishing trace that can be enabled via traceToLog, is fully migrated over to the dedicated publish log, and the entries are grouped by ItemUri for easier processing.

The new logger is defined as usual in web.config and setup to write to the /data/logs folder with conventional "Publishing.log.{date}.txt" pattern.

It is setup to INFO level by default, and more detailed DEBUG output can be enabled, if needed.

    <appender name="PublishingLogFileAppender" type="log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging">
      <file value="$(dataFolder)/logs/Publishing.log.{date}.txt" />
      <appendToFile value="true" />
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%4t %d{ABSOLUTE} %-5p %m%n" />
      <encoding value="utf-8" />
    <logger name="Sitecore.Diagnostics.Publishing" additivity="false">
      <level value="INFO" />
      <appender-ref ref="PublishingLogFileAppender" />

Good day now.

Sitecore 7.2 Dev Team