I have a top-level config file logback.xml and another file logback-included.xml. If I set the scan=true in the logback.xml file, will the included file also be scanned for changes? Is scan=true applicable for <included> tag as well? I find that the scanning doesn't happen, when I change the included file. Should I do anything special?

--- logback.xml ---
<configuration scan="true">
    <include file="logback-included.xml" />
</configuration>

--- logback-included.xml ---
<included scan="true">
      <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>mylog.log</file>
        <rollingPolicy  class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
          <FileNamePattern>mylog.log.%d{yyyy-MM-dd}</FileNamePattern>
        </rollingPolicy>
        <encoder>
          <pattern>%date %level [%thread] %logger{15} %msg%n</pattern>
        </encoder>
      </appender>
   
      <root>
        <level value="DEBUG" />
        <appender-ref ref="FILE" />
      </root>
</included>


Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. Learn more.