This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi i am trying to get a simple java program for testing java logging, but it is not working as expected, I am attaching the code below, the problem is i am not getting fine, finner, finnest, config messages on my Console
I use Java's logging because it's built in so I don't need to depend on a log4j jar file, but it does do some funny stuff. The problem you have is java LOGGERS and HANDLERS both have log levels!!! If your handler is set to INFO and you change your logger to DEBUG you're still only going to get INFO messages because that's what the handler is set at. Personally I think this is really bad and confusing but it's what we got. The easiest thing to do is set your handlers to level ALL that way all messages are controlled by the log level in the LOGGER object.
Java EE Evangelist — Author, EJB 3 in Action 2nd Edition — Java Community Process Member