From 2bef3452f5e11a3eec4019a01c6f4b554bbe8cf5 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sat, 18 Feb 2023 21:55:42 -0500 Subject: rsyslog: rsyslog.conf: add rule for lh_ programs --- linhes/rsyslog/PKGBUILD | 4 ++-- linhes/rsyslog/rsyslog.conf | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/linhes/rsyslog/PKGBUILD b/linhes/rsyslog/PKGBUILD index bb7af2b..ddcedfb 100644 --- a/linhes/rsyslog/PKGBUILD +++ b/linhes/rsyslog/PKGBUILD @@ -1,6 +1,6 @@ pkgname=rsyslog pkgver=8.2212.0 -pkgrel=2 +pkgrel=3 pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability" url="http://www.rsyslog.com/" arch=('x86_64' 'i686' 'aarch64') @@ -22,7 +22,7 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/rsyslog/rsyslog/archive/v${ sha256sums=('4b5f2205e91adf5e5821de8957a42b937505607f663c71ee381aca0011ea8e42' '0f5bea3fd4dff2c9f097bf95768b2e1f6e9cfd9a08eab98bc3b3b4d2ed44119a' - '4f2f0ed01a717d89ecd37b41c02ed33cd28876397035bcedd4e74b173bfa7ce3' + '76d3c6f0c094a768ca12e314133080444db19900679b7a82f30d4c63fdabed38' '81b9f9b78395405b679849143a6709911d00e9317928fdb2a2540f52965847c2') install=$pkgname.install diff --git a/linhes/rsyslog/rsyslog.conf b/linhes/rsyslog/rsyslog.conf index feb9621..045a82f 100644 --- a/linhes/rsyslog/rsyslog.conf +++ b/linhes/rsyslog/rsyslog.conf @@ -28,6 +28,8 @@ $template DynLighttpd,"/var/log/%$YEAR%-%$MONTH%-%$DAY%/%HOSTNAME%_lighttpd.log" if $programname contains 'lighttpd' then ?DynLighttpd & stop +if $programname startswith 'lh_' then ?DynFile +& stop # Log anything (except mail) of level info or higher. # Don't log private authentication messages! -- cgit v0.12