Within my deployed application, based on user interaction change the current configuration of logging. ie. log4j allows me to use its Syslog and SnmpTrap appender. What I would like to do is allow the user of my application to turn on/off and specify the target host for those 2 appenders.
I cannot determine a way to do this.
Log4jService allows me to set/get the ConfgurationURL. So to do what I want I would have to generate the file; allowing the service to re-read it?
Is there anther way to accomplish this?