Skip to content

Commit c751779

Browse files
authored
add logging breaking changes from 5.3 to 6.0 (#31583)
logging related system properties were changed in logging between 5.2 and 5.3. Existing `es.logs` system property was deprecated in 5.x, and removed in 6.0.
1 parent 105fded commit c751779

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/reference/migration/migrate_6_0/packaging.asciidoc

+14
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,17 @@ environment used to start Elasticsearch (and various supporting scripts). This
8787
legacy feature could be useful when there were several environment variables
8888
useful for configuring JVM options; this functionality had previously been
8989
replaced by <<jvm-options>>. Therefore, `ES_INCLUDE` has been removed.
90+
91+
==== Logging configuration
92+
93+
Previously Elasticsearch exposed a single system property (`es.logs`) that
94+
included the absolute path to the configured logs directory, and the prefix of
95+
the filenames used for the various logging files (the main log file, the
96+
deprecation log, and the slow logs). This property has been replaced in favor of
97+
three properties:
98+
99+
* `es.logs.base_path`: the absolute path to the configured logs directory
100+
* `es.logs.cluster_name`: the default prefix of the filenames used for the
101+
various logging files
102+
* `es.logs.node_name`: exposed if `node.name` is configured for inclusion in
103+
the filenames of the various logging files (if you prefer)

0 commit comments

Comments
 (0)