Tridion 2011 centralizes all logging configuration in the logback.xml file. How do I configure the verbose logging of link resolving in Tridion 2011?

I do not think this is it, since it uses the DeployerLog. Am I missing something?

   <logger name="com.tridion.tcdl">
        <appender-ref ref="rollingDeployerLog"/>

I think the linking info will - by default - appear in the cd_core.log, since this seems to be a "catch-all" log for all com.tridion.* classes.

You can add a log explicitly for linking as follows:

Create a linking-only appender:

<appender name="linkingLog" class="ch.qos.logback.core.rolling.RollingFileAppender">
    <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">

Then bind the linking classes to this appender:

<logger name="com.tridion.linking" level="${log.level}">
    <appender-ref ref="linkingLog"/>

if you want to use a different log level for this specific log file, then change it in the logger element.

| improve this answer | |
  • Thanks Nuno. This is exactly what I was looking for and missing in the default logback file. Will be nice if this is included in the future logging samples. – robrtc Nov 30 '12 at 19:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.