elasticsearch: comment the Xlog:gc line instead of changing it completely
This commit is contained in:
parent
9f87049ee4
commit
2c079755e9
|
@ -25,6 +25,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
* elasticsearch: comment the Xlog:gc line instead of changing it completely
|
||||||
* nagios-nrpe: remount /usr **after** installing the packages
|
* nagios-nrpe: remount /usr **after** installing the packages
|
||||||
* packweb-apache,nagios-nrpe: add missing task and config for PHP 8.2 container
|
* packweb-apache,nagios-nrpe: add missing task and config for PHP 8.2 container
|
||||||
* potsfix: add missing `localhost.$mydomain` to mydestination
|
* potsfix: add missing `localhost.$mydomain` to mydestination
|
||||||
|
|
|
@ -179,14 +179,11 @@
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: Disable garbage collector logs (JDK >= 9)
|
- name: Disable garbage collector logs
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.replace:
|
||||||
dest: /etc/elasticsearch/jvm.options
|
dest: /etc/elasticsearch/jvm.options
|
||||||
regexp: "Xlog:gc"
|
regexp: '^([^#]*-Xlog:gc.+)'
|
||||||
line: "#9-:-Xlog:gc*,gc+age=trace,safepoint:file=/opt/my-app/gc.log:utctime,pid,tags:filecount=32,filesize=64m"
|
replace: '#\1'
|
||||||
owner: root
|
|
||||||
group: elasticsearch
|
|
||||||
mode: "0640"
|
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue