|
|
@ -47,8 +47,10 @@ import org.springframework.util.StringUtils;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* An {@link ApplicationListener} that configures the {@link LoggingSystem}. If the
|
|
|
|
* An {@link ApplicationListener} that configures the {@link LoggingSystem}. If the
|
|
|
|
* environment contains a {@code logging.config} property a then that will be used to
|
|
|
|
* environment contains a {@code logging.config} property it will be used to
|
|
|
|
* initialize the logging system, otherwise a default configuration is used.
|
|
|
|
* bootstrap the logging system, otherwise a default configuration is used. Regardless,
|
|
|
|
|
|
|
|
* logging levels will be customized if the environment contains {@code logging.level.*}
|
|
|
|
|
|
|
|
* entries.
|
|
|
|
* <p>
|
|
|
|
* <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.
|
|
|
|