Last active
January 3, 2016 05:59
-
-
Save jhorsman/8419553 to your computer and use it in GitHub Desktop.
SDL Tridion 2013 SP1 Content Delivery Logback configuration example from installation media. This is the part of the logback.xml which you would effectively use on a presentation server. The following loggers are removed from this example: rollingTransportLog, rollingDeployerLog, rollingMonitorLog, rollingSessionPreviewLog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<appender name="rollingContextLog" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |
<fileNamePattern>${log.folder}/cd_context.%d{yyyy-MM-dd}.log</fileNamePattern> | |
<maxHistory>${log.history}</maxHistory> | |
</rollingPolicy> | |
<encoder> | |
<charset>${log.encoding}</charset> | |
<pattern>${log.pattern}</pattern> | |
</encoder> | |
<prudent>true</prudent> | |
</appender> | |
... | |
<appender name="rollingCoreLog" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |
<fileNamePattern>${log.folder}/cd_core.%d{yyyy-MM-dd}.log</fileNamePattern> | |
<maxHistory>${log.history}</maxHistory> | |
</rollingPolicy> | |
<encoder> | |
<charset>${log.encoding}</charset> | |
<pattern>${log.pattern}</pattern> | |
</encoder> | |
<prudent>true</prudent> | |
</appender> | |
... | |
<logger name="com.tridion" level="${log.level}"/> | |
<logger name="com.sdl.context" level="${log.level}"> | |
<appender-ref ref="rollingContextLog"/> | |
</logger> | |
<logger name="Tridion.ContentDelivery" level="${log.level}"> | |
<appender-ref ref="rollingCoreLog"/> | |
</logger> | |
<root level="OFF"> | |
<appender-ref ref="rollingCoreLog"/> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment