Finally I manage to get a time to debug the app. Looking into ReconfigureOnChangeFilter (version 1.0.13) , the execution is stopped by line #108 where the mask is always set to 65535 .
I'm clueless on how to change the mask as it seems like it is being managed automatically by updateMaskIfNecessary (line #147) . I believe it was added for optimization, but with mask value of 65535, it will be a while for the configuration to be loaded even though i set my configuration to be scanned every 200 seconds. Any hint how to fix this? Thanks, Johanes > > Message: 1 > Date: Wed, 12 Nov 2014 12:10:38 +1100 > From: Johanes Soetanto <[email protected]> > To: [email protected] > Subject: Re: [logback-user] logback.xml not reloaded > Message-ID: > <CAHn_LrykvJuj=UF4=-YhoW+QdUb2y+iHKS9u=5wT5D= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > Upon my investigation, it seems like my problem with reloading is related > to the change made in version 1.0.2 (http://jira.qos.ch/browse/LOGBACK-327 > ). > > I tested with version 1.0.1 or 1.1.2 the configuration is not reloaded when > there is change. > > > Note: I haven't run the app on debug mode. > > Johanes > > > > > Message: 4 > > Date: Tue, 4 Nov 2014 10:01:11 +0000 > > From: David Roussel <[email protected]> > > To: logback users list <[email protected]> > > Subject: > Re: [logback-user] logback.xml not reloaded > > Message-ID: > > <[email protected]> > > Content-Type: text/plain; charset="us-ascii" > > > > My only suggestion is running it in a debugging session in your IDE and > > seeing what is happening that way. > > > > David > > > > > On 4 Nov 2014, at 07:34, Johanes Soetanto <[email protected]> wrote: > > > > > > Hi there, > > > > > > I would like to know if there is a way to debug why logback.xml > > configuration change cannot be reloaded by our application. It had been > > working correctly on our application for a long time, however I discover > > from a week ago that change at runtime is not applied. If i restart the > > application, the change is applied properly. configuration xml is using > > basic one using scan="true". > > > > > > I tried adding debug="true" but no information message apart from usual > > logback information message before application startup. The only change I > > can think of is we change Tomcat from 6.0.x to 7.0.56. We are using > logback > > version 1.0.13. > > > > > > Any assistance is appreciated. > > > > > > Thanks > > > > > > Johanes > > >
_______________________________________________ Logback-user mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/logback-user
