Skip to content

Commit

Permalink
Improve logging documentation
Browse files Browse the repository at this point in the history
The default severity was removed by commit
6ce8fd4 (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
  • Loading branch information
greghudson committed Jun 10, 2019
1 parent 2d400be commit 4dabc3d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions doc/admin/conf_files/kdc_conf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -642,17 +642,20 @@ 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
kdc = SYSLOG:INFO:DAEMON
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:

Expand Down

0 comments on commit 4dabc3d

Please sign in to comment.