aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-03-08 14:28:57 +0100
committerAlex Auvolat <alex@adnab.me>2022-03-08 14:28:57 +0100
commit97858a14337cf8412b6eb44188bdf1f7946e576b (patch)
tree23ce3da16805e213593c3f41eab83c746418c316
parente3eca391e071cc0ba1c3ac214f4b40e4835ee8ec (diff)
downloadnixcfg-97858a14337cf8412b6eb44188bdf1f7946e576b.tar.gz
nixcfg-97858a14337cf8412b6eb44188bdf1f7946e576b.zip
fix logging
-rw-r--r--app/frontend/deploy/frontend-tricot.hcl2
-rw-r--r--app/garage-staging/deploy/garage.hcl3
-rw-r--r--app/telemetry/config/filebeat.yml4
3 files changed, 3 insertions, 6 deletions
diff --git a/app/frontend/deploy/frontend-tricot.hcl b/app/frontend/deploy/frontend-tricot.hcl
index 988c3ee..e7e1106 100644
--- a/app/frontend/deploy/frontend-tricot.hcl
+++ b/app/frontend/deploy/frontend-tricot.hcl
@@ -58,7 +58,7 @@ TRICOT_CONSUL_HOST=https://localhost:8501
TRICOT_CONSUL_CA_CERT=/etc/tricot/consul-ca.crt
TRICOT_CONSUL_CLIENT_CERT=/etc/tricot/consul-client.crt
TRICOT_CONSUL_CLIENT_KEY=/etc/tricot/consul-client.key
-RUST_LOG=tricot=trace
+RUST_LOG=tricot=debug
EOH
destination = "secrets/env"
env = true
diff --git a/app/garage-staging/deploy/garage.hcl b/app/garage-staging/deploy/garage.hcl
index 8164edc..342d506 100644
--- a/app/garage-staging/deploy/garage.hcl
+++ b/app/garage-staging/deploy/garage.hcl
@@ -37,9 +37,6 @@ job "garage-staging" {
"/mnt/ssd/garage-staging/meta:/meta",
"secrets/garage.toml:/etc/garage.toml",
]
- logging {
- type = "journald"
- }
}
template {
diff --git a/app/telemetry/config/filebeat.yml b/app/telemetry/config/filebeat.yml
index 6967d97..310afd1 100644
--- a/app/telemetry/config/filebeat.yml
+++ b/app/telemetry/config/filebeat.yml
@@ -33,8 +33,8 @@ processors:
#========================== Elasticsearch output ===============================
output.elasticsearch:
hosts: ["localhost:9200"]
- username: beats_system
- password: {{ key "secrets/telemetry/elastic_passwords/beats_system" }}
+ username: elastic
+ password: {{ key "secrets/telemetry/elastic_passwords/elastic" }}
#============================== Dashboards =====================================
setup.dashboards: