elasticsearch/docs/reference/setup
Daniel Mitterdorfer 8fc2d6af4c
Add log level for JVM logs (#92382)
With this commit we specify `level` in JVM logs. `level` helps to filter
more severe messages from mere debugging messages in logs and with this
change we are able to use it also for JVM logs.

Here are a few example lines:

Before:

```
[2022-12-15T06:19:16.936+0000][15181][gc,start    ] GC(0) Pause Young (Normal) (G1 Evacuation Pause)
```

After:

```
[2022-12-15T06:22:27.932+0000][16320][info][gc,start    ] GC(0) Pause Young (Normal) (G1 Evacuation Pause)
[2022-12-15T06:22:27.932+0000][16320][debug][gc,age      ] GC(0) Desired survivor size 14680064 bytes, new threshold 15 (max threshold 15)
[2022-12-15T06:22:27.935+0000][16320][info ][gc,phases   ] GC(0)   Pre Evacuate Collection Set: 0.1ms
[2022-12-15T06:22:27.935+0000][16320][trace][gc,age      ] GC(0) Age table with threshold 15 (max threshold 15)
```

Notice, that the log level might have trailing spaces.

See also
https://docs.oracle.com/en/java/javase/19/docs/specs/man/java.html#xlog-tags-and-levels
for the available log levels.
2023-01-10 07:58:18 +01:00
..
images [DOCS] Intro for adding nodes (#37202) 2019-01-15 11:11:01 -08:00
important-settings Add log level for JVM logs (#92382) 2023-01-10 07:58:18 +01:00
install [DOCS] Remove extra ports in Docker command (#91118) 2022-11-22 09:13:36 -08:00
sysconfig [DOCS] Revert changes for ES_JAVA_OPTS (#89931) 2022-09-08 13:37:39 -04:00
add-nodes.asciidoc [DOCS] Update add node section (#89393) 2022-08-25 08:51:03 -04:00
advanced-configuration.asciidoc Use default text for preview warning with tcp readiness port (#92508) 2022-12-21 13:49:15 -08:00
bootstrap-checks-xes.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
bootstrap-checks.asciidoc More docs re. removing cluster.initial_master_nodes (#85948) 2022-04-19 07:54:43 +01:00
configuration.asciidoc [DOCS] Re-add cluster settings precedence (#82738) 2022-01-18 12:32:43 -05:00
important-settings.asciidoc [DOCS] Edit JVM settings info. Closes #72259 (#72350) 2021-04-28 18:30:32 -07:00
install.asciidoc [DOCS] Add simple dev setup instructions back to the README (#89714) 2022-09-01 16:49:05 -07:00
logging-config.asciidoc [doc] update deprecation logging (#83723) 2022-05-17 16:17:54 +02:00
restart-cluster.asciidoc [DOCS] Add warning on restarting nodes exceeding low disk watermark (#89018) 2022-08-29 15:14:44 -04:00
run-elasticsearch-locally.asciidoc [DOCS] Add simple dev setup instructions back to the README (#89714) 2022-09-01 16:49:05 -07:00
secure-settings.asciidoc Convert repository plugins to modules (#81870) 2022-01-10 10:45:42 +00:00
starting.asciidoc [DOCS] Remove Windows MSI installer package (#81952) (#81957) 2021-12-20 13:49:32 -05:00
stopping.asciidoc [DOCS] Swap [float] for [discrete] (#60124) 2020-07-23 11:48:22 -04:00
sysconfig.asciidoc [DOCS] Add missing system config entry (#79830) 2021-10-26 12:04:58 -04:00