Forum Discussion
Joey_Seekata
17 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
Related Content
- 2 months agoStoplight
- 9 years agoMarekFric
- 9 years agowilliam_roe
- 11 years agosastowe
Recent Discussions
- 6 days agoemoya