logging config
This commit is contained in:
parent
3ad0db6973
commit
62687973fc
3 changed files with 22 additions and 2 deletions
10
templates/elasticsearch-logrotate.j2
Normal file
10
templates/elasticsearch-logrotate.j2
Normal file
|
@ -0,0 +1,10 @@
|
|||
/var/log/elasticsearch/elasticsearch.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 30
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create 640 elasticsearch elasticsearch
|
||||
su root elasticsearch
|
||||
}
|
|
@ -85,4 +85,7 @@ http.port: {{ elasticsearch_nextcloud_port }}
|
|||
#
|
||||
# Require explicit names when deleting indices:
|
||||
#
|
||||
#action.destructive_requires_name: true
|
||||
#action.destructive_requires_name: true
|
||||
|
||||
# Log level
|
||||
logger.org.elasticsearch.transport: ERROR
|
Loading…
Add table
Add a link
Reference in a new issue