[DOCS] document that we support loading multiple logging conf files

This commit is contained in:
javanna 2014-11-19 11:24:23 +01:00 committed by Luca Cavanna
parent ecc56a57f5
commit 06fafa3ed9
1 changed files with 8 additions and 6 deletions

View File

@ -312,12 +312,14 @@ log4j configuration by using http://www.yaml.org/[YAML] to configure it,
and the logging configuration file is `config/logging.yml`. The and the logging configuration file is `config/logging.yml`. The
http://en.wikipedia.org/wiki/JSON[JSON] and http://en.wikipedia.org/wiki/JSON[JSON] and
http://en.wikipedia.org/wiki/.properties[properties] formats are also http://en.wikipedia.org/wiki/.properties[properties] formats are also
supported. The logger section contains the java packages and their supported. Multiple configuration files can be loaded, in which case they will
corresponding log level, where it is possible to omit the `org.elasticsearch` get merged, as long as they start with the `logging.` prefix and end with one
prefix. The appender section contains the destinations for the logs. of the supported suffixes (either `.yml`, `.yaml`, `.json` or `.properties`).
Extensive information on how to customize logging and all the supported The logger section contains the java packages and their corresponding log
appenders can be found on the level, where it is possible to omit the `org.elasticsearch` prefix. The
http://logging.apache.org/log4j/1.2/manual.html[log4j documentation]. appender section contains the destinations for the logs. Extensive information
on how to customize logging and all the supported appenders can be found on
the http://logging.apache.org/log4j/1.2/manual.html[log4j documentation].
coming[1.5.0] Additional Appenders and other logging classes provided by coming[1.5.0] Additional Appenders and other logging classes provided by
http://logging.apache.org/log4j/extras/[log4j-extras] are also available, http://logging.apache.org/log4j/extras/[log4j-extras] are also available,