fix logging

This commit is contained in:
Alex 2022-03-08 14:28:57 +01:00
parent e3eca391e0
commit 97858a1433
Signed by: lx
GPG key ID: 0E496D15096376BE
3 changed files with 3 additions and 6 deletions

View file

@ -58,7 +58,7 @@ TRICOT_CONSUL_HOST=https://localhost:8501
TRICOT_CONSUL_CA_CERT=/etc/tricot/consul-ca.crt TRICOT_CONSUL_CA_CERT=/etc/tricot/consul-ca.crt
TRICOT_CONSUL_CLIENT_CERT=/etc/tricot/consul-client.crt TRICOT_CONSUL_CLIENT_CERT=/etc/tricot/consul-client.crt
TRICOT_CONSUL_CLIENT_KEY=/etc/tricot/consul-client.key TRICOT_CONSUL_CLIENT_KEY=/etc/tricot/consul-client.key
RUST_LOG=tricot=trace RUST_LOG=tricot=debug
EOH EOH
destination = "secrets/env" destination = "secrets/env"
env = true env = true

View file

@ -37,9 +37,6 @@ job "garage-staging" {
"/mnt/ssd/garage-staging/meta:/meta", "/mnt/ssd/garage-staging/meta:/meta",
"secrets/garage.toml:/etc/garage.toml", "secrets/garage.toml:/etc/garage.toml",
] ]
logging {
type = "journald"
}
} }
template { template {

View file

@ -33,8 +33,8 @@ processors:
#========================== Elasticsearch output =============================== #========================== Elasticsearch output ===============================
output.elasticsearch: output.elasticsearch:
hosts: ["localhost:9200"] hosts: ["localhost:9200"]
username: beats_system username: elastic
password: {{ key "secrets/telemetry/elastic_passwords/beats_system" }} password: {{ key "secrets/telemetry/elastic_passwords/elastic" }}
#============================== Dashboards ===================================== #============================== Dashboards =====================================
setup.dashboards: setup.dashboards: