[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/15: services: nscd: ‘log-file’ defaults to #f.
From: |
guix-commits |
Subject: |
01/15: services: nscd: ‘log-file’ defaults to #f. |
Date: |
Sun, 2 Jun 2024 14:56:47 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 8f0878da8d139b5890206f3d2b867bee36015dd8
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon May 20 22:06:50 2024 +0200
services: nscd: ‘log-file’ defaults to #f.
* gnu/services/base.scm (<nscd-configuration>)[log-file]: Default to #f.
* doc/guix.texi (Base Services): Clarify documentation.
Change-Id: Ia75914fc2665db13bef688d53659083a615ebef4
---
doc/guix.texi | 8 +++++---
gnu/services/base.scm | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 1224104038..8cc01b2e65 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -19458,9 +19458,11 @@ the nscd---e.g., @code{(list @var{nss-mdns})}.
Package object denoting the GNU C Library providing the @command{nscd}
command.
-@item @code{log-file} (default: @code{"/var/log/nscd.log"})
-Name of the nscd log file. This is where debugging output goes when
-@code{debug-level} is strictly positive.
+@item @code{log-file} (default: @code{#f})
+Name of the nscd log file. Debugging output goes to that file when
+@code{debug-level} is strictly positive, or to standard error if it is
+@code{#f}. Regular messages are written to syslog when
+@code{debug-level} is zero, regardless of the value of @code{log-file}.
@item @code{debug-level} (default: @code{0})
Integer denoting the debugging levels. Higher numbers mean that more
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 85160bd3ab..984670cd32 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -1285,7 +1285,7 @@ the tty to run, among other things."
make-nscd-configuration
nscd-configuration?
(log-file nscd-configuration-log-file ;string
- (default "/var/log/nscd.log"))
+ (default #f))
(debug-level nscd-debug-level ;integer
(default 0))
;; TODO: See nscd.conf in glibc for other options to add.
- branch master updated (bc06affabc -> 2e53fa5346), guix-commits, 2024/06/03
- 15/15: gnu: Add nsncd., guix-commits, 2024/06/03
- 02/15: services: tor: Log to stderr rather than syslog., guix-commits, 2024/06/03
- 03/15: services: dbus: Log to stderr rather than syslog., guix-commits, 2024/06/03
- 01/15: services: nscd: ‘log-file’ defaults to #f.,
guix-commits <=
- 11/15: gnu: Add rust-nix-0.28., guix-commits, 2024/06/03
- 06/15: gnu: emacs-org: Update to 9.6.30., guix-commits, 2024/06/03
- 05/15: services: darkstat: Depend on ‘user-processes’., guix-commits, 2024/06/03
- 12/15: gnu: Add rust-dns-lookup-2., guix-commits, 2024/06/03
- 10/15: gnu: Add rust-libc-0.2.153., guix-commits, 2024/06/03
- 13/15: gnu: Add rust-temp-env-0.3., guix-commits, 2024/06/03
- 09/15: gnu: knot: Remove input labels., guix-commits, 2024/06/03
- 08/15: gnu: knot: Build against libbpf 0.8., guix-commits, 2024/06/03
- 14/15: gnu: Add rust-slog-async-2-8., guix-commits, 2024/06/03
- 07/15: gnu: libbpf: Reintroduce 0.8.1., guix-commits, 2024/06/03