electrs: control the log level in the conf only (#4115)

This commit is contained in:
openoms 2023-08-25 16:58:53 +02:00 committed by GitHub
parent 6134cac0ab
commit 16b815e58d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -319,7 +319,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
# https://github.com/romanz/electrs/blob/master/doc/usage.md#configuration-files-and-environment-variables
sudo -u electrs mkdir /home/electrs/.electrs 2>/dev/null
echo "\
log_filters = \"INFO\"
log_filters = \"WARN\"
timestamp = true
jsonrpc_import = true
index-batch-size = 10
@ -422,7 +422,6 @@ Type=simple
TimeoutSec=60
Restart=always
RestartSec=60
LogLevelMax=5
# Hardening measures
PrivateTmp=true