summaryrefslogtreecommitdiff
path: root/meta-facebook/recipes-phosphor
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2020-05-06 02:27:39 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-05-06 23:42:32 +0300
commit9cbd07c15d65014543a5ca8399aa619291f3131a (patch)
tree5dea6306e5834fb13ad51879181f984a41806b60 /meta-facebook/recipes-phosphor
parent00bb208516f31027771f70eade0698e20dc736e4 (diff)
downloadopenbmc-9cbd07c15d65014543a5ca8399aa619291f3131a.tar.xz
Change to a script for event log rotation
This changes event log rotation to use a script. The two main reasons for this change are: 1. systemd logs messages each time the service is started by the timer. 2. If logrotate returns an error for any reason, the whole service is marked as failed. This changes to a single long-running script to: 1. Reduce the log messages for rotation. 2. Print errors instead of failing the service. Tested: Filled the IPMI and Redfish logs and confirmed that they are still correctly rotated. (From meta-intel rev: b22e8f7fae6b5d028b4c6f5ab9c630018aae0f6e) Change-Id: I3e12f824d79a0e4e9cf5748538648157f1a6a0cc Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-facebook/recipes-phosphor')
0 files changed, 0 insertions, 0 deletions