From f72bbfd85fd8035a2a4dc216f6aeb9bc2fe19d0c Mon Sep 17 00:00:00 2001
From: Gusted <gusted@noreply.codeberg.org>
Date: Fri, 12 Aug 2022 05:24:05 +0200
Subject: [PATCH] Fix `just dev` (#121)

- Use the correct log level command, since 876a53d9a245c11c58b61617052f7f2281d16358

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/121
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: Gusted <gusted@noreply.codeberg.org>
Co-committed-by: Gusted <gusted@noreply.codeberg.org>
---
 Justfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Justfile b/Justfile
index c824efa..03a7436 100644
--- a/Justfile
+++ b/Justfile
@@ -6,7 +6,8 @@ dev:
     export PAGES_DOMAIN=localhost.mock.directory
     export RAW_DOMAIN=raw.localhost.mock.directory
     export PORT=4430
-    go run . --verbose
+    export LOG_LEVEL=trace
+    go run .
 
 build:
     CGO_ENABLED=0 go build -ldflags '-s -w' -v -o build/codeberg-pages-server ./
@@ -45,4 +46,4 @@ integration:
     go test -race -tags integration codeberg.org/codeberg/pages/integration/...
 
 integration-run TEST:
-    go test -race -tags integration -run "^{{TEST}}$" codeberg.org/codeberg/pages/integration/...
\ No newline at end of file
+    go test -race -tags integration -run "^{{TEST}}$" codeberg.org/codeberg/pages/integration/...