Skip to content

Commit 38c0bdd

Browse files
committed
Sync sudo.DEBUG descriptions with comments in sudo_debug.h.
1 parent cf1b87c commit 38c0bdd

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

docs/sudo_plugin_python.man.in

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
.\" SPDX-License-Identifier: ISC
44
.\"
55
.\" Copyright (c) 2019-2021 Robert Manner <[email protected]>
6-
.\" Copyright (c) 2019-2023 Todd C. Miller <[email protected]>
6+
.\" Copyright (c) 2019-2025 Todd C. Miller <[email protected]>
77
.\"
88
.\" Permission to use, copy, modify, and distribute this software for any
99
.\" purpose with or without fee is hereby granted, provided that the above
@@ -17,7 +17,7 @@
1717
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1818
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1919
.\"
20-
.TH "SUDO_PLUGIN_PYTHON" "5" "January 16, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
20+
.TH "SUDO_PLUGIN_PYTHON" "5" "February 26, 2025" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
2121
.nh
2222
.if n .ad l
2323
.SH "NAME"
@@ -1735,21 +1735,21 @@ l l l.
17351735
.PP
17361736
\fBsudo.conf name\fR \fBPython constant\fR \fBdescription\fR
17371737
.PP
1738-
crit \fRsudo.DEBUG.CRIT\fR only critical messages
1738+
crit \fRsudo.DEBUG.CRIT\fR critical errors
17391739
.PP
1740-
err \fRsudo.DEBUG.ERROR\fR
1740+
err \fRsudo.DEBUG.ERROR\fR non-critical errors
17411741
.PP
1742-
warn \fRsudo.DEBUG.WARN\fR
1742+
warn \fRsudo.DEBUG.WARN\fR non-fatal warnings
17431743
.PP
1744-
notice \fRsudo.DEBUG.NOTICE\fR
1744+
notice \fRsudo.DEBUG.NOTICE\fR non-error condition notices
17451745
.PP
1746-
diag \fRsudo.DEBUG.DIAG\fR
1746+
diag \fRsudo.DEBUG.DIAG\fR diagnostic messages
17471747
.PP
1748-
info \fRsudo.DEBUG.INFO\fR
1748+
info \fRsudo.DEBUG.INFO\fR informational message
17491749
.PP
1750-
trace \fRsudo.DEBUG.TRACE\fR
1750+
trace \fRsudo.DEBUG.TRACE\fR log function enter/exit
17511751
.PP
1752-
debug \fRsudo.DEBUG.DEBUG\fR very extreme verbose debugging
1752+
debug \fRsudo.DEBUG.DEBUG\fR very verbose debugging
17531753
.TE
17541754
.PP
17551755
\fIUsing the logging module\fR

docs/sudo_plugin_python.mdoc.in

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.\" SPDX-License-Identifier: ISC
33
.\"
44
.\" Copyright (c) 2019-2021 Robert Manner <[email protected]>
5-
.\" Copyright (c) 2019-2023 Todd C. Miller <[email protected]>
5+
.\" Copyright (c) 2019-2025 Todd C. Miller <[email protected]>
66
.\"
77
.\" Permission to use, copy, modify, and distribute this software for any
88
.\" purpose with or without fee is hereby granted, provided that the above
@@ -16,7 +16,7 @@
1616
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1717
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1818
.\"
19-
.Dd January 16, 2023
19+
.Dd February 26, 2025
2020
.Dt SUDO_PLUGIN_PYTHON @mansectform@
2121
.Os Sudo @PACKAGE_VERSION@
2222
.Sh NAME
@@ -1403,14 +1403,14 @@ one or more messages to log
14031403
.Em Available log levels:
14041404
.Bl -column "name in sudo.conf" "Python constant" "only critical messages"
14051405
.It Sy sudo.conf name Ta Sy Python constant Ta Sy description
1406-
.It crit Ta Dv sudo.DEBUG.CRIT Ta only critical messages
1407-
.It err Ta Dv sudo.DEBUG.ERROR Ta
1408-
.It warn Ta Dv sudo.DEBUG.WARN Ta
1409-
.It notice Ta Dv sudo.DEBUG.NOTICE Ta
1410-
.It diag Ta Dv sudo.DEBUG.DIAG Ta
1411-
.It info Ta Dv sudo.DEBUG.INFO Ta
1412-
.It trace Ta Dv sudo.DEBUG.TRACE Ta
1413-
.It debug Ta Dv sudo.DEBUG.DEBUG Ta very extreme verbose debugging
1406+
.It crit Ta Dv sudo.DEBUG.CRIT Ta critical errors
1407+
.It err Ta Dv sudo.DEBUG.ERROR Ta non-critical errors
1408+
.It warn Ta Dv sudo.DEBUG.WARN Ta non-fatal warnings
1409+
.It notice Ta Dv sudo.DEBUG.NOTICE Ta non-error condition notices
1410+
.It diag Ta Dv sudo.DEBUG.DIAG Ta diagnostic messages
1411+
.It info Ta Dv sudo.DEBUG.INFO Ta informational message
1412+
.It trace Ta Dv sudo.DEBUG.TRACE Ta log function enter/exit
1413+
.It debug Ta Dv sudo.DEBUG.DEBUG Ta very verbose debugging
14141414
.El
14151415
.Pp
14161416
.Em Using the logging module

0 commit comments

Comments
 (0)