aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-10-30 16:16:30 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-11-01 23:15:20 +0900
commit2c322884b4185b7c2319153e3ac218ae00c1b532 (patch)
treefbc4c38c3d99913fd5d4f2da96e7eb1c3d88f03a
parentab554d60483a17c785676bf28e7f7c95d700ba4d (diff)
downloadguix-2c322884b4185b7c2319153e3ac218ae00c1b532.tar.gz
guix-2c322884b4185b7c2319153e3ac218ae00c1b532.zip
services: anonip: Add 'debug?' configuration field.
* gnu/services/web.scm (<anonip-configuration>) [debug?]: New field. (anonip-shepherd-service): Honor it. * doc/guix.texi (Log Rotation) <anonip-configuration>: Document it. Change-Id: Iaf57b5992808374b069a55c34a9adfdfe52b046c
-rw-r--r--doc/guix.texi3
-rw-r--r--gnu/services/web.scm3
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 40d341f020..187bae6898 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -20789,6 +20789,9 @@ The file name of the processed log file.
The following optional settings may be provided:
@table @code
+@item debug?
+Print debug messages when @code{#true}.
+
@item skip-private?
When @code{#true} do not mask addresses in private ranges.
diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index 740d29de95..4cf7c68997 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -220,6 +220,7 @@
anonip-configuration-anonip
anonip-configuration-input
anonip-configuration-output
+ anonip-configuration-debug?
anonip-configuration-skip-private?
anonip-configuration-column
anonip-configuration-replacement
@@ -1448,6 +1449,8 @@ files.")
(default anonip))
(input anonip-configuration-input) ;string
(output anonip-configuration-output) ;string
+ (debug? anonip-configuration-debug? ;boolean
+ (default #f))
(skip-private? anonip-configuration-skip-private? ;boolean
(default #f))
(column anonip-configuration-column ;number