Forum Discussion
Joey_Seekata
18 years agoNew Contributor
Omatzura,
I don't know how you got that from the javadocs, but it was brilliant. I used:
Logger.getRootLogger().getAppender("testResults").activateOptions();
and sure enough, it closed and reopened it. With append set to false, it reopened it "clean".
I could not figure out what name to put into the Logger.getLogger call, so I used getRootLogger instead.
Who said there are no pointers in java? You pointed me in the right direction with some java code.
But still, how did you get that behavior from the javadocs? Some kind of secret decoder ring or what?
Thanks so much!
Joey
I don't know how you got that from the javadocs, but it was brilliant. I used:
Logger.getRootLogger().getAppender("testResults").activateOptions();
and sure enough, it closed and reopened it. With append set to false, it reopened it "clean".
I could not figure out what name to put into the Logger.getLogger call, so I used getRootLogger instead.
Who said there are no pointers in java? You pointed me in the right direction with some java code.
But still, how did you get that behavior from the javadocs? Some kind of secret decoder ring or what?
Thanks so much!
Joey