Browse Source

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

javanna 11 years ago
parent
commit
06fafa3ed9
1 changed files with 8 additions and 6 deletions
  1. 8 6
      docs/reference/setup/configuration.asciidoc

+ 8 - 6
docs/reference/setup/configuration.asciidoc

@@ -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
 http://en.wikipedia.org/wiki/JSON[JSON] and
 http://en.wikipedia.org/wiki/.properties[properties] formats are also
-supported. The logger section contains the java packages and their
-corresponding log level, where it is possible to omit the `org.elasticsearch`
-prefix. The 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].
+supported. Multiple configuration files can be loaded, in which case they will
+get merged, as long as they start with the `logging.` prefix and end with one
+of the supported suffixes (either `.yml`, `.yaml`, `.json` or `.properties`).
+The logger section contains the java packages and their corresponding log
+level, where it is possible to omit the `org.elasticsearch` prefix. The
+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 
 http://logging.apache.org/log4j/extras/[log4j-extras] are also available,