me
/
guix
Archived
1
0
Fork 0

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
master
Ludovic Courtès 2024-05-20 22:06:50 +02:00
parent bc06affabc
commit 8f0878da8d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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.