]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Improve logging documentation 942/head
authorGreg Hudson <ghudson@mit.edu>
Thu, 6 Jun 2019 15:35:36 +0000 (11:35 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 10 Jun 2019 15:33:07 +0000 (11:33 -0400)
The default severity was removed by commit
6ce8fd4cfa2e9b1e92debd204a5b2ddf053cca55 (ticket 8630) but the example
still talks about it; remove that text.  Add a note about the default
being syslog if nothing else is specified, and a note on how to
disable logging.

ticket: 8813 (new)
tags: pullup
target_version: 1.17-next

doc/admin/conf_files/kdc_conf.rst

index 2c6ea1855927928147d6c9805579be3411d1dc37..e5d896275a1f1c36cfd4005fbf779f21872617cd 100644 (file)
@@ -642,10 +642,10 @@ Logging specifications may have the following forms:
     facility is specified, the default is **AUTH**.
 
 In the following example, the logging messages from the KDC will go to
-the console and to the system log under the facility LOG_DAEMON with
-default severity of LOG_INFO; and the logging messages from the
-administrative server will be appended to the file
-``/var/adm/kadmin.log`` and sent to the device ``/dev/tty04``. ::
+the console and to the system log under the facility LOG_DAEMON, and
+the logging messages from the administrative server will be appended
+to the file ``/var/adm/kadmin.log`` and sent to the device
+``/dev/tty04``. ::
 
     [logging]
         kdc = CONSOLE
@@ -653,6 +653,9 @@ administrative server will be appended to the file
         admin_server = FILE:/var/adm/kadmin.log
         admin_server = DEVICE=/dev/tty04
 
+If no logging specification is given, the default is to use syslog.
+To disable logging entirely, specify ``default = DEVICE=/dev/null``.
+
 
 .. _otp: