Skip to contentSkip to conversation

package/sysklogd: replace local syslog.conf sample with upstream

PATCH New Joachim Wiberg 2 participants 2 messages Feb 1, 2021 – Feb 4, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/sysklogd: replace local syslog.conf sample with upstream

This patch drops the local syslog.conf in favor of the one shipped with sysklogd. The upstream syslog.conf sample differs from the Buildroot one primarily in shifting to /var/log/syslog as the default for log messages. It also comes with a dedicated /var/log/kern.log and some commented-out filtering examples.

---
 package/sysklogd/sysklogd.mk | 2 +-
 package/sysklogd/syslog.conf | 9 ---------
 2 files changed, 1 insertion(+), 10 deletions(-)
 delete mode 100644 package/sysklogd/syslog.conf
package/sysklogd/sysklogd.mk +1 -1
index c6c59da69f..ff181372b6 100644
@@ -25,7 +25,7 @@ SYSKLOGD_CONF_OPTS += --without-logger
 endif
 
 define SYSKLOGD_INSTALL_SAMPLE_CONFIG
-	$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
+	$(INSTALL) -D -m 0644 $(@D)/syslog.conf \
 		$(TARGET_DIR)/etc/syslog.conf
 endef
 
package/sysklogd/syslog.conf deleted +0 -9
deleted file mode 100644
index 411bd645ff..0000000000
@@ -1,9 +0,0 @@
-# /etc/syslog.conf - Configuration file for syslogd
-
-auth,authpriv.*		/var/log/auth.log
-*.*;auth,authpriv.none	/var/log/messages
-user.*			/var/log/user.log
-
-*.emerg			*
-
-include /etc/syslog.d/*.conf
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/sysklogd: replace local syslog.conf sample with upstream

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Joachim" == Joachim Wiberg <[email protected]> writes:

This patch drops the local syslog.conf in favor of the one shipped with sysklogd. The upstream syslog.conf sample differs from the Buildroot one primarily in shifting to /var/log/syslog as the default for log messages. It also comes with a dedicated /var/log/kern.log and some commented-out filtering examples.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard