it is the same configuration that i have, for me it works fine.
maybe you should attach the logback.xml file to see if there another problems.

On Thu, May 5, 2011 at 10:08 AM, Sven Hafner <s.hafner@bevisible-online.com> wrote:
Hi !

I use below settings and deploy to Glassfish. Logback.xml is not inside
the warfile, but I copy it to the classes folder
under /domain/application/...


<configuration scan="true" scanPeriod="20 seconds" debug="true">
<statusListener
class="ch.qos.logback.core.status.OnConsoleStatusListener" />

When deploying or restarting the app the config is read
..
16:02:41,826 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - Setting
ReconfigureOnChangeFilter scanning period to 20 seconds
16:02:41,826 |-INFO in
ch.qos.logback.classic.turbo.ReconfigureOnChangeFilter@12a0ca7 - Will
scan for changes in
[[/home/sven/glassfish3/glassfish/domains/domain1/applications/HelloLog/WEB-INF/classes/logback.xml]] every 20 seconds.
16:02:41,826 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - Adding
ReconfigureOnChangeFilter as a turbo filter
16:02:41,828 |-INFO in
ch.qos.logback.core.joran.action.StatusListenerAction - Adding status
listener of type [ch.qos.logback.core.status.OnConsoleStatusListener]
..

but it does not re-read on any change, only restarting the app will read
changes like debug-level change.

Any ideas ?

Thanks !
Sven

_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://qos.ch/mailman/listinfo/logback-user



--
إِنَّ الَّذِينَ يُحِبُّونَ أَنْ تَشِيعَ الْفَاحِشَةُ فِي الَّذِينَ آمَنُوا لَهُمْ عَذَابٌ أَلِيمٌ فِي الدُّنْيَا وَالآخِرَةِ وَاللَّهُ يَعْلَمُ وَأَنْتُمْ لا تَعْلَمُونَ


My public key please use it when you contact me:
هذا مفتاحي العام الرجاء أستخدامه عند الإتصال بي:

09BA B710 4B98 ECDA 8C0A 6CB1 2E1E CF88 6A12 F2C3