cbaines pushed a commit to branch master
in repository maintenance.
commit 3638c83e624f88c8469d9e6a7fc7fd2d44d8022d
Author: Christopher Baines <[email protected]>
AuthorDate: Wed Jun 5 12:12:09 2024 +0100
hydra: Increase the NGinx log level from 'error to 'warn.
As otherwise things like uninitialised variable warnings are omitted.
* hydra/bayfront.scm <nginx-configuration>: Set log-level to 'warn.
* hydra/deploy-node-129.scm (node-129-os): Set log-level to 'warn.
---
hydra/bayfront.scm | 1 +
hydra/deploy-node-129.scm | 1 +
2 files changed, 2 insertions(+)
diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 837e6df2..2916e0b2 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -1591,6 +1591,7 @@ add_header Content-Type text/plain;")))
(global-directives
'((events . ((use . epoll)))
(worker_processes . 16)))
+ (log-level 'warn)
(modules
(list
;; Module to redirect users to the localized pages of their
choice.
diff --git a/hydra/deploy-node-129.scm b/hydra/deploy-node-129.scm
index 6baf788b..989d1b14 100644
--- a/hydra/deploy-node-129.scm
+++ b/hydra/deploy-node-129.scm
@@ -355,6 +355,7 @@ devices {
(service nginx-service-type
(nginx-configuration
+ (log-level 'warn)
(upstream-blocks
(list (nginx-upstream-configuration
(name "nar-herder")