2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Sync sudo.DEBUG descriptions with comments in sudo_debug.h.

This commit is contained in:
Todd C. Miller 2025-02-26 19:11:25 -07:00
parent cf1b87c71d
commit 38c0bdd7ad
2 changed files with 20 additions and 20 deletions

View File

@ -3,7 +3,7 @@
.\" SPDX-License-Identifier: ISC .\" SPDX-License-Identifier: ISC
.\" .\"
.\" Copyright (c) 2019-2021 Robert Manner <robert.manner@oneidentity.com> .\" Copyright (c) 2019-2021 Robert Manner <robert.manner@oneidentity.com>
.\" Copyright (c) 2019-2023 Todd C. Miller <Todd.Miller@sudo.ws> .\" Copyright (c) 2019-2025 Todd C. Miller <Todd.Miller@sudo.ws>
.\" .\"
.\" Permission to use, copy, modify, and distribute this software for any .\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above .\" purpose with or without fee is hereby granted, provided that the above
@ -17,7 +17,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.TH "SUDO_PLUGIN_PYTHON" "5" "January 16, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual" .TH "SUDO_PLUGIN_PYTHON" "5" "February 26, 2025" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh .nh
.if n .ad l .if n .ad l
.SH "NAME" .SH "NAME"
@ -1735,21 +1735,21 @@ l l l.
.PP .PP
\fBsudo.conf name\fR \fBPython constant\fR \fBdescription\fR \fBsudo.conf name\fR \fBPython constant\fR \fBdescription\fR
.PP .PP
crit \fRsudo.DEBUG.CRIT\fR only critical messages crit \fRsudo.DEBUG.CRIT\fR critical errors
.PP .PP
err \fRsudo.DEBUG.ERROR\fR err \fRsudo.DEBUG.ERROR\fR non-critical errors
.PP .PP
warn \fRsudo.DEBUG.WARN\fR warn \fRsudo.DEBUG.WARN\fR non-fatal warnings
.PP .PP
notice \fRsudo.DEBUG.NOTICE\fR notice \fRsudo.DEBUG.NOTICE\fR non-error condition notices
.PP .PP
diag \fRsudo.DEBUG.DIAG\fR diag \fRsudo.DEBUG.DIAG\fR diagnostic messages
.PP .PP
info \fRsudo.DEBUG.INFO\fR info \fRsudo.DEBUG.INFO\fR informational message
.PP .PP
trace \fRsudo.DEBUG.TRACE\fR trace \fRsudo.DEBUG.TRACE\fR log function enter/exit
.PP .PP
debug \fRsudo.DEBUG.DEBUG\fR very extreme verbose debugging debug \fRsudo.DEBUG.DEBUG\fR very verbose debugging
.TE .TE
.PP .PP
\fIUsing the logging module\fR \fIUsing the logging module\fR

View File

@ -2,7 +2,7 @@
.\" SPDX-License-Identifier: ISC .\" SPDX-License-Identifier: ISC
.\" .\"
.\" Copyright (c) 2019-2021 Robert Manner <robert.manner@oneidentity.com> .\" Copyright (c) 2019-2021 Robert Manner <robert.manner@oneidentity.com>
.\" Copyright (c) 2019-2023 Todd C. Miller <Todd.Miller@sudo.ws> .\" Copyright (c) 2019-2025 Todd C. Miller <Todd.Miller@sudo.ws>
.\" .\"
.\" Permission to use, copy, modify, and distribute this software for any .\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above .\" purpose with or without fee is hereby granted, provided that the above
@ -16,7 +16,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.Dd January 16, 2023 .Dd February 26, 2025
.Dt SUDO_PLUGIN_PYTHON @mansectform@ .Dt SUDO_PLUGIN_PYTHON @mansectform@
.Os Sudo @PACKAGE_VERSION@ .Os Sudo @PACKAGE_VERSION@
.Sh NAME .Sh NAME
@ -1403,14 +1403,14 @@ one or more messages to log
.Em Available log levels: .Em Available log levels:
.Bl -column "name in sudo.conf" "Python constant" "only critical messages" .Bl -column "name in sudo.conf" "Python constant" "only critical messages"
.It Sy sudo.conf name Ta Sy Python constant Ta Sy description .It Sy sudo.conf name Ta Sy Python constant Ta Sy description
.It crit Ta Dv sudo.DEBUG.CRIT Ta only critical messages .It crit Ta Dv sudo.DEBUG.CRIT Ta critical errors
.It err Ta Dv sudo.DEBUG.ERROR Ta .It err Ta Dv sudo.DEBUG.ERROR Ta non-critical errors
.It warn Ta Dv sudo.DEBUG.WARN Ta .It warn Ta Dv sudo.DEBUG.WARN Ta non-fatal warnings
.It notice Ta Dv sudo.DEBUG.NOTICE Ta .It notice Ta Dv sudo.DEBUG.NOTICE Ta non-error condition notices
.It diag Ta Dv sudo.DEBUG.DIAG Ta .It diag Ta Dv sudo.DEBUG.DIAG Ta diagnostic messages
.It info Ta Dv sudo.DEBUG.INFO Ta .It info Ta Dv sudo.DEBUG.INFO Ta informational message
.It trace Ta Dv sudo.DEBUG.TRACE Ta .It trace Ta Dv sudo.DEBUG.TRACE Ta log function enter/exit
.It debug Ta Dv sudo.DEBUG.DEBUG Ta very extreme verbose debugging .It debug Ta Dv sudo.DEBUG.DEBUG Ta very verbose debugging
.El .El
.Pp .Pp
.Em Using the logging module .Em Using the logging module