[logback-user] Are included files scanned

Rosarin Jolly Roy rosarinjroy at hotmail.com
Sat Apr 24 04:19:14 CEST 2010

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" />

--- logback-included.xml ---
<included scan="true">
      <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <rollingPolicy  class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
          <pattern>%date %level [%thread] %logger{15} %msg%n</pattern>
        <level value="DEBUG" />
        <appender-ref ref="FILE" />
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20100423/ff7fe87d/attachment.html>

More information about the Logback-user mailing list