diff options
author | Willy Tu <wltu@google.com> | 2023-06-26 19:54:21 +0300 |
---|---|---|
committer | Willy Tu <wltu@google.com> | 2023-06-26 20:25:47 +0300 |
commit | 234381cc2e97999b3c3c3a114afa05aa2e6cc25c (patch) | |
tree | c8ffd16e38c0945520eb96e981ee6c41ce0d20cf /meta-google/recipes-extended | |
parent | 4254f1b647f4595cbc2ab7d043655edae541c5b8 (diff) | |
download | openbmc-234381cc2e97999b3c3c3a114afa05aa2e6cc25c.tar.xz |
meta-google: Add default rsyslog config for gBMC
Enable common config for imjournal to use across all gBMC, so that we
don't have to manage it seperately.
Change-Id: I96057e3ee8246afdd0030fb2b90bcf01f9709137
Signed-off-by: Willy Tu <wltu@google.com>
Diffstat (limited to 'meta-google/recipes-extended')
-rw-r--r-- | meta-google/recipes-extended/rsyslog/rsyslog/rsyslog.conf | 12 | ||||
-rw-r--r-- | meta-google/recipes-extended/rsyslog/rsyslog_%.bbappend | 5 |
2 files changed, 17 insertions, 0 deletions
diff --git a/meta-google/recipes-extended/rsyslog/rsyslog/rsyslog.conf b/meta-google/recipes-extended/rsyslog/rsyslog/rsyslog.conf new file mode 100644 index 0000000000..fd1085a29e --- /dev/null +++ b/meta-google/recipes-extended/rsyslog/rsyslog/rsyslog.conf @@ -0,0 +1,12 @@ +module(load="imuxsock" SysSock.Use="off") +module( + load="imjournal" + StateFile="/var/log/state" + RateLimit.Interval="60" + RateLimit.Burst="4000" +) + +# +# Include all config files in /etc/rsyslog.d/ +# +include(file="/etc/rsyslog.d/*.conf") diff --git a/meta-google/recipes-extended/rsyslog/rsyslog_%.bbappend b/meta-google/recipes-extended/rsyslog/rsyslog_%.bbappend new file mode 100644 index 0000000000..df1524ce6e --- /dev/null +++ b/meta-google/recipes-extended/rsyslog/rsyslog_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS:prepend:gbmc := "${THISDIR}/${PN}:" + +SRC_URI:append:gbmc = " \ + file://rsyslog.conf \ +" |