elasticsearch/docs/reference/setup
Rory Hunter c04dfdeff9
Make it possible to use Stack logging in Docker (#66171)
Backport of #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 19:09:02 +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:34:57 +00:00
install Make it possible to use Stack logging in Docker (#66171) 2020-12-10 19:09:02 +00:00
sysconfig [DOCS] Document off-heap swaps under mlocks (#64667) (#64700) 2020-11-06 07:57:43 -05:00
add-nodes.asciidoc Deprecate and ignore join timeout (#60872) 2020-08-10 13:57:41 +01:00
bootstrap-checks-xes.asciidoc [DOCS] Swap [float] for [discrete] (#60134) 2020-07-23 12:42:33 -04:00
bootstrap-checks.asciidoc [DOCS] Update reference documentation that mentions CMS (#50542) (#65733) 2020-12-02 08:10:55 -05:00
configuration.asciidoc [DOCS] Document discovery.seed_hosts only supports YAML sequences and arrays (#63746) (#63775) 2020-10-15 16:56:40 -04:00
important-settings.asciidoc Add snapshots to important config list (#65338) 2020-11-23 14:34:57 +00:00
install.asciidoc [DOCS] Swap [float] for [discrete] (#60134) 2020-07-23 12:42:33 -04:00
jvm-options.asciidoc Update jvm options doc 2020-03-19 12:00:01 +11:00
logging-config.asciidoc [DOCS] Clarify logger-package relationship (#65169) (#65211) 2020-11-18 10:44:48 -05:00
restart-cluster.asciidoc [DOCS] Swap [float] for [discrete] (#60134) 2020-07-23 12:42:33 -04:00
secure-settings.asciidoc [DOCS] Document reloadable Watcher settings (#64998) (#65072) 2020-11-16 09:18:35 -05:00
setup-xclient.asciidoc [7.x][DOCS] Updates ML links (#50387) (#50409) 2019-12-20 10:01:19 -08:00
setup-xes.asciidoc [DOCS] Fixes license management links (#58213) 2020-06-16 16:49:48 -07:00
starting.asciidoc [DOCS] Swap [float] for [discrete] (#60134) 2020-07-23 12:42:33 -04:00
stopping.asciidoc [DOCS] Swap [float] for [discrete] (#60134) 2020-07-23 12:42:33 -04:00
sysconfig.asciidoc Suggest reducing tcp_retries2 (#59222) 2020-07-27 11:40:12 +01:00