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/springframework/ util/Log4jConfigurer.html#initLogging-java.lang.String-long- From: Whittaker, Geoffrey [mailto:[email protected]] Sent: Wednesday, December 17, 2014 2:45 PM To: [email protected] 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 to [email protected] <mailto:[email protected]> as: [email protected] <mailto:[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
