elasticsearch/docs/reference/setup/important-settings
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
..
cluster-name.asciidoc [DOCS] Edit JVM settings info. Closes #72259 (#72350) 2021-04-28 18:30:32 -07:00
discovery-settings.asciidoc More docs re. removing cluster.initial_master_nodes (#85948) 2022-04-19 07:54:43 +01:00
error-file.asciidoc [DOCS] Edit JVM settings info. Closes #72259 (#72350) 2021-04-28 18:30:32 -07:00
es-tmpdir.asciidoc [DOCS] Edit JVM settings info. Closes #72259 (#72350) 2021-04-28 18:30:32 -07:00
gc-logging.asciidoc Add log level for JVM logs (#92382) 2023-01-10 07:58:18 +01:00
heap-dump-path.asciidoc [DOCS] Edit JVM settings info. Closes #72259 (#72350) 2021-04-28 18:30:32 -07:00
heap-size.asciidoc Various updates related to minimum Java version 17 (#85545) 2022-03-31 10:04:50 -04:00
network-host.asciidoc [DOCS] Edit JVM settings info. Closes #72259 (#72350) 2021-04-28 18:30:32 -07:00
node-name.asciidoc [DOCS] Edit JVM settings info. Closes #72259 (#72350) 2021-04-28 18:30:32 -07:00
path-settings.asciidoc [Docs] Delete Elasticsearch Homebrew 8.x docs (#83446) 2022-02-03 13:05:22 -08:00
snapshot.asciidoc [DOCS] Overhaul snapshot and restore docs (#79081) 2021-11-15 12:45:07 -05:00