[logback-user] Are included files scanned

Ceki Gülcü ceki at qos.ch
Thu Feb 10 21:37:13 CET 2011


On 10/02/2011 9:31 PM, jaybytez wrote:
>
> I ran into this same thing right now.
>
> Did you ever get this working?
>
> I have files on the classpath of my server that are included into log config
> files in the war, and when I change the files on the server classpath, and
> the logging doesn't update.
>
> Thanks...jay

Add OnConsoleStatusListener to your config file.

<configuration>
   <statusListener
     class="ch.qos.logback.core.status.OnConsoleStatusListener" />
     .... the rest of the configuration file
</configuration>

See also http://logback.qos.ch/manual/configuration.html#statusListener

Once that is done, you should have a better idea of what is going on.

--
Ceki


More information about the Logback-user mailing list