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

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -