Bring rsyslog.conf in line with other distros (#2684)
* Improve rsyslog.conf default logging
This commit is contained in:
Родитель
905aa503f6
Коммит
435738fb81
|
@ -22,7 +22,8 @@ module(load="imjournal") # provides access to the systemd journal
|
|||
|
||||
#### GLOBAL DIRECTIVES ####
|
||||
|
||||
$umask 0000
|
||||
$umask 0022
|
||||
$FileCreateMode 0640
|
||||
|
||||
#### REMOTE RULES ####
|
||||
|
||||
|
@ -31,11 +32,15 @@ $umask 0000
|
|||
# Log all kernel messages to the console.
|
||||
#kern.* /dev/console
|
||||
|
||||
# Default logging (omit all messages from auth, authpriv, mail, cron since
|
||||
# they will be handled by other rules)
|
||||
*.*,auth,authpriv,mail,cron.none /var/log/messages
|
||||
|
||||
# The authpriv file has restricted access.
|
||||
authpriv.* /var/log/messages
|
||||
auth,authpriv.* /var/log/secure
|
||||
|
||||
# Log all the mail messages in one place.
|
||||
mail.* /var/log/maillog"
|
||||
mail.* /var/log/maillog
|
||||
# Log cron stuff
|
||||
cron.* /var/log/cron
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"50-rsyslog-journald.conf": "c4c875396276951b491e799e9cdb5a090b2ca82a754967c7f310888373e51c40",
|
||||
"rsyslog-8.2108.0.tar.gz": "4826c2b6d081a9c95f469fb0115be3f9512065297d3de00ec513758cdb30b1d9",
|
||||
"rsyslog-doc-8.2108.0.tar.gz": "a0a994e8f6f470ba5c5b8e4e74261655543992f8a979edc0531f5535e7d89c52",
|
||||
"rsyslog.conf": "f2d5b52fb527306452cdebb4a5fe549d89136063a65cc06d862dcf55c3489baf",
|
||||
"rsyslog.conf": "d5fc0ae1f725ec2f09f02ea755f875782bd3466b729372222450277aa05a3c1d",
|
||||
"rsyslog.service": "df62c9fa758079016e3b73f39d3b5952dce1e0c14a063c7a776b86eeba405153"
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
Summary: Rocket-fast system for log processing
|
||||
Name: rsyslog
|
||||
Version: 8.2108.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv3+ AND ASL 2.0
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
|
@ -153,6 +153,12 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||
%doc %{_docdir}/%{name}/html
|
||||
|
||||
%changelog
|
||||
* Thu Apr 07 2022 Daniel McIlvaney <damcilva@microsoft.com> - 8.2108.0-2
|
||||
- Bring rsyslog.conf in line with other distros
|
||||
- add /var/log/messages for normal logs
|
||||
- add /var/log/secure for auth and authpriv logs
|
||||
- set file permissions to 640 for log files
|
||||
|
||||
* Mon Jan 24 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 8.2108.0-1
|
||||
- Update to version 8.2108.0.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче