Java 9 Logger require logging.properties which contains logger configuration like log file path, log level type ect. By default logging.properties file location is

JAVA_HOME/config/logging.properties

Java 9 also provide facility to customize logger properties path as like

-Djava.util.logging.config.file=[CUSTOM_PATH]\logging.properties

i.e. -Djava.util.logging.config.file=C:\DATA\logging.properties

Was this post helpful?
Let us know, if you liked the post. Only in this way, we can improve us.
Yes
No
Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *