Forums Register Login

log4j question

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
Moved to the "Open Source Projects" forum here.
[ January 30, 2004: Message edited by: Cindy Glass ]
Look ma! I'm selling my stuff!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 588 times.
Similar Threads
Deploying Apps w/o shutting down?
Log4j PropertyConfigurator ConfigureAndWatch problem
Using log4j in ServletContextListener
dynamically change log4j logging level
Runtime Monitoring of a file
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 03:33:50.