mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
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. |
||
---|---|---|
.. | ||
images | ||
important-settings | ||
install | ||
sysconfig | ||
add-nodes.asciidoc | ||
advanced-configuration.asciidoc | ||
bootstrap-checks-xes.asciidoc | ||
bootstrap-checks.asciidoc | ||
configuration.asciidoc | ||
important-settings.asciidoc | ||
install.asciidoc | ||
logging-config.asciidoc | ||
restart-cluster.asciidoc | ||
run-elasticsearch-locally.asciidoc | ||
secure-settings.asciidoc | ||
starting.asciidoc | ||
stopping.asciidoc | ||
sysconfig.asciidoc |