I could do something like that.  I was just wondering if there was something 
that might do it automagically.  

I will also try to save the files at the same time and give them (almost) the 
same timestamp.  If that works then I'll be happy.

Geoff 

-----Original Message-----
From: Richard Frovarp [mailto:richard.frov...@ndsu.edu] 
Sent: Wednesday, December 17, 2014 5:01 PM
To: cas-user@lists.jasig.org
Subject: Re: [cas-user] Force Log4J Refresh

How about using touch after the copy to update the timestamp?

On 12/17/2014 03:59 PM, Misagh Moayyed wrote:
> You'll have to write a WatchDog for Log4j. Not something you can 
> simply do via configuration.
>
> This is worth pointing out:
>
> http://docs.spring.io/spring/docs/current/javadoc-api/org/springframew
> ork/util/Log4jConfigurer.html#initLogging-java.lang.String-long-
>
> *From:* Whittaker, Geoffrey [mailto:geoff.whitta...@unf.edu]
> *Sent:* Wednesday, December 17, 2014 2:45 PM
> *To:* cas-user@lists.jasig.org
> *Subject:* [cas-user] Force Log4J Refresh
>
> I was just working on externalizing my log4j file to let me swap 
> quickly between a debug file and production file.  I want keep each 
> file in its own folder and then copy one to the location pointed to in 
> my cas.properties file when I need to change the log level.
>
>
> I noticed that the refresh seems to be based on the modified time of 
> the file rather than if it's actually different or not.  I was 
> wondering if anyone knew of a way to force CAS4 to refresh the log4j 
> file regardless of the modified time?
>
> Geoff
>
>
>
> --
>
> You are currently subscribed tocas-u...@lists.jasig.org  
> <mailto:cas-user@lists.jasig.org>  as:mmoay...@unicon.net  
> <mailto:mmoay...@unicon.net>
>
> To unsubscribe, change settings or access archives, 
> seehttp://www.ja-sig.org/wiki/display/JSG/cas-user
>
> --
> You are currently subscribed to cas-user@lists.jasig.org as: 
> richard.frov...@ndsu.edu To unsubscribe, change settings or access 
> archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
>


--
You are currently subscribed to cas-user@lists.jasig.org as: 
geoff.whitta...@unf.edu To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to