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.