From 8b22d5496dc97d5aac11bda1e8399bcb21af86e4 Mon Sep 17 00:00:00 2001 From: syrell Date: Sat, 1 Jun 2024 22:41:31 +0200 Subject: [PATCH] feat: Formatted Caddy logs globally --- Caddyfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Caddyfile b/Caddyfile index 44b062d..f524339 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,3 +1,11 @@ +{ + log { + format json { + time_format rfc3339 + } + } +} + :80 { root * /srv file_server { @@ -12,7 +20,7 @@ rewrite @404 /404.html file_server } - + log metrics /metrics } \ No newline at end of file