T
tekwiz
Thanks for you assistance. The problem was the the logger didn't have
any handlers (aside from the parent's). And, yes, I realize the best
way is to do things through the configs -- what I was doing was simply
for a proof of concept.
So, for those wanting to know the not-so-correct (but functional) way
to do logging:
Logger l = Logger.getLogger("TestLog");
l.setUseParentHandlers(false);
l.addHandler(new ConsoleHandler());
l.getHandlers()[0].setLevel(Level.ALL);
l.setLevel(Level.ALL);
l.info("test");
l.fine("test");
l.finer("test");
l.finest("test");
Thanks again.
any handlers (aside from the parent's). And, yes, I realize the best
way is to do things through the configs -- what I was doing was simply
for a proof of concept.
So, for those wanting to know the not-so-correct (but functional) way
to do logging:
Logger l = Logger.getLogger("TestLog");
l.setUseParentHandlers(false);
l.addHandler(new ConsoleHandler());
l.getHandlers()[0].setLevel(Level.ALL);
l.setLevel(Level.ALL);
l.info("test");
l.fine("test");
l.finer("test");
l.finest("test");
Thanks again.