Commit 6ff09bc8 authored by Phillip Webb's avatar Phillip Webb

Clarify LoggingApplicationListener Javadoc

parent 140e86bb
...@@ -50,6 +50,12 @@ import org.springframework.util.StringUtils; ...@@ -50,6 +50,12 @@ import org.springframework.util.StringUtils;
* logging system, otherwise a default configuration is used. Regardless, logging levels * logging system, otherwise a default configuration is used. Regardless, logging levels
* will be customized if the environment contains {@code logging.level.*} entries. * will be customized if the environment contains {@code logging.level.*} entries.
* <p> * <p>
* Debug and trace logging for Spring, Tomcat, Jetty and Hibernate will be enabled when
* the environment contains {@code debug} or {@code trace} properties (i.e. if you start
* your application using {@literal java -jar myapp.jar [--debug | --trace]}). If you
* prefer to ignore these properties you can set {@link #setParseArgs(boolean) parseArgs}
* to {@code false}.
* <p>
* By default, log output is only written to the console. If a log file is required the * By default, log output is only written to the console. If a log file is required the
* {@code logging.path} and {@code logging.file} properties can be used. * {@code logging.path} and {@code logging.file} properties can be used.
* <p> * <p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment