Skip to content

Commit f66aa38

Browse files
authored
Merge pull request #613 from percona/ps-10328-8.0
PS-10328 - [DOCS] audit_log_syslog_priority refers to level value in …
2 parents dbe2b2d + ce2c09d commit f66aa38

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

docs/audit-log-plugin.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -904,10 +904,21 @@ variable has the same meaning as the appropriate parameter described in the
904904
| Dynamic: | No |
905905
| Data type | String |
906906
| Default value | LOG_INFO |
907+
| Allowed values | `LOG_EMERG`, `LOG_ALERT`, `LOG_CRIT`, `LOG_ERR`, `LOG_WARNING`, `LOG_NOTICE`, `LOG_INFO`, `LOG_DEBUG` |
907908

908-
This variable is used to specify the `priority` value for syslog. This
909-
variable has the same meaning as the appropriate parameter described in the
910-
[syslog(3) manual](https://man7.org/linux/man-pages/man3/syslog.3.html).
909+
This variable is used to specify the severity level for syslog. The
910+
`audit_log_syslog_priority` variable does not include the facility; it only
911+
selects the severity level (`LOG_EMERG``LOG_DEBUG`).
912+
913+
The full syslog priority that `syslog()` receives is built internally by OR-ing
914+
the configured facility (`audit_log_syslog_facility`) with this level.
915+
916+
The default `LOG_INFO` means "ordinary informational messages"; you can raise or
917+
lower the level as needed, while the facility stays at its default unless you
918+
change it explicitly.
919+
920+
For more details about syslog priority levels, see the [syslog(3)
921+
manual](https://man7.org/linux/man-pages/man3/syslog.3.html).
911922

912923
## Status Variables
913924

0 commit comments

Comments
 (0)