Hello,
I’m trying use the logger. With SEVERE and WARNING levels it works just fine. With FINE, FINER, FINEST levels the messages don’t show up, whether I set the logger to corresponding levels or not.
I generally followed the tutorial on the wiki page, except that I just print plain messages without any variables put into it. I also tried adding an empty Object[] array, but it didn’t work either.
My logger code looks like this:
public class JobInExecution implements Observer, AnimEventListener {
…
private static final Logger logger = Logger.getLogger(JobInExecution.class.getName());
…
public JobInExecution(…) {
logger.setLevel(Level.FINE);
…
logger.log(Level.FINE, “JobInExecution created”);
}
…
}