logging.properties example
The Java logging APIs (java.util.logging) default loads logging.properties in the $JAVA_HOME/jre/lib/ (Java 8 and before); for Java 9 and above, the logging.properties file moved to $JAVA_HOME/conf.
Favourite tutorials for developers
The Java logging APIs (java.util.logging) default loads logging.properties in the $JAVA_HOME/jre/lib/ (Java 8 and before); for Java 9 and above, the logging.properties file moved to $JAVA_HOME/conf.
In this article, we will show you how to use YAML instead of properties file in Spring Boot. Tested with :Spring Boot 2.1.2.RELEASE, Maven 3, Snakeyaml:jar:1.23 . In short, create…
In non static method, we use getClass() of the object or instance. In static method, the getClass() method will be failed, and prompts Cannot make a static reference to the…