java.util.logging.config -
Is there a way to set the location of the properties file, specifying a JVM param such as- Djava.util.logging . Config.file = log.properties?
Yes, you can configure the LogManager via the Priority API.
inputstream inputstream = new file inputstream ("logging.properties"); . LogManager.getLogManager () readConfiguration (InputStream);
Comments
Post a Comment