CAS should support that behavior already. The log4j configuration is set to refresh at minute intervals. You can override the interval by defining a "log4j.refresh.interval" in your cas.properties file. The value is in milliseconds.
> -----Original Message----- > From: Paul B. Henson [mailto:[email protected]] > Sent: Tuesday, August 6, 2013 11:25 AM > To: [email protected] > Subject: [cas-user] reload log4j config dynamically > > I've externalized my log4j config, and ideally would like to be able to > dynamically reload it when it changes without having to restart cas. > > It looks like there are a handful of different ways in general to have log4j > watch its config file and reload it, is there any specific one that would work > best within cas? > > Thanks. > > -- > Paul B. Henson | (909) 979-6361 | http://www.csupomona.edu/~henson/ > Operating Systems and Network Analyst | [email protected] > California State Polytechnic University | Pomona CA 91768 > > -- > 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 -- 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
