This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes log4j  question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "log4j  question" Watch "log4j  question" New topic
Author

log4j question

Ken Liang
Greenhorn

Joined: Jan 26, 2004
Posts: 7
Hi,
It is known that we can use PropertyConfigurator.configureAndWatch("propertiesfile") to monitor the change of the property file. I want to catch the file change event then when it changes I can do some renew operation. I don't know if I need add a listener or create my own event? How? May someone kindly give me a smaple?
Appreciate for reply.
Ken
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Moved to the "Open Source Projects" forum here.
[ January 30, 2004: Message edited by: Cindy Glass ]

"JavaRanch, where the deer and the Certified play" - David O'Meara
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: log4j question
 
Similar Threads
Jatbbed pane event
log4j question
Query
Hibernate triggers
JSP directive attribute from expression