elasticsearch/docs/reference/setup
Rory Hunter 68b5465575
Make it possible to use Stack logging in Docker (#65778)
Closes #62758.

Include the Stack log4j config in the Docker image, in order to
make it possible to write logs in a container environment in the
same way as for an archive or package deployment. This is useful
in situations where the user is bind-mounting the logs directory
and has their own arrangements for log shipping.

To use stack logging, set the environment variable `ES_LOG_STYLE`
to `file`. It can also be set to `console`, which is the same as
not specifying it at all.

The Docker logging config is now auto-generated at image build time,
by running the default config through a transformer program when
preparing the distribution in an image builder step.

Also, in the docker distribution `build.gradle`, I changed a helper
closure into a class with a static method in order to fix an
issue where the Docker image was always being rebuilt, even when
there were no changes.
2020-12-10 12:25:47 +00:00
..
images [DOCS] Intro for adding nodes (#37202) 2019-01-15 11:11:01 -08:00
important-settings Add snapshots to important config list (#65338) 2020-11-23 14:26:07 +00:00
install Make it possible to use Stack logging in Docker (#65778) 2020-12-10 12:25:47 +00:00
sysconfig [DOCS] Document off-heap swaps under mlocks (#64667) 2020-11-06 07:38:13 -05:00
add-nodes.asciidoc Remove join timeout (#60873) 2020-08-10 13:57:54 +01:00
bootstrap-checks-xes.asciidoc [DOCS] Swap [float] for [discrete] (#60124) 2020-07-23 11:48:22 -04:00
bootstrap-checks.asciidoc [DOCS] Replace Wikipedia links with attribute (#61171) 2020-08-17 09:44:24 -04:00
configuration.asciidoc [DOCS] Document discovery.seed_hosts only supports YAML sequences and arrays (#63746) 2020-10-15 16:28:35 -04:00
important-settings.asciidoc Add snapshots to important config list (#65338) 2020-11-23 14:26:07 +00:00
install.asciidoc [DOCS] Swap [float] for [discrete] (#60124) 2020-07-23 11:48:22 -04:00
jvm-options.asciidoc [DOCS] Fix typo in JVM options 2020-08-27 08:42:17 -04:00
logging-config.asciidoc [DOCS] Clarify logger-package relationship (#65169) 2020-11-18 10:28:06 -05:00
restart-cluster.asciidoc [DOCS] Swap [float] for [discrete] (#60124) 2020-07-23 11:48:22 -04:00
secure-settings.asciidoc [DOCS] Document reloadable Watcher settings (#64998) 2020-11-16 08:34:45 -05:00
starting.asciidoc [DOCS] Swap [float] for [discrete] (#60124) 2020-07-23 11:48:22 -04:00
stopping.asciidoc [DOCS] Swap [float] for [discrete] (#60124) 2020-07-23 11:48:22 -04:00
sysconfig.asciidoc Suggest reducing tcp_retries2 (#59222) 2020-07-27 11:39:44 +01:00