Skip to content
Advertisement

Tag: java.util.logging

Logging not showing

I am using JUL in my application. Normally, Netbeans opens an output tab that reads “Tomcat” and shows the logs I produce. It was working fine. But suddenly, I realise that my logs are not shown at all, only the System.out get printed. Not even the higuest LOG.log(Level.SEVERE, “….. I suspect it can be a library I included, which is

Is there a way to get java.util.logging.LogManager to report all loggers for which properties are specified or to access the properties?

In LogManager, the method getLoggerNames appears to only return loggers that have been actually instantiated already. However, logging properties can be held “in reserve” until a logger with a given name is instantiated. Is there a way to get the full list of loggers for which we have settings, or to at least get the current properties set/map, without reading

Advertisement