From e7963e674278732c1e929f93bbbdbd9cc1064e86 Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Tue, 11 Apr 2023 10:46:06 +0000 Subject: [PATCH] Logrotate all log files Depending on the paste configuration there might be other log files in log directory that needs to be rotated. Also removes the comment that about the debian directory that does not exist. Change-Id: I90c50355f84e0e5c3b9fc1940ee6084c01bed97a --- etc/logrotate.d/barbican-api | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/logrotate.d/barbican-api b/etc/logrotate.d/barbican-api index c3158d7ca..835ec561b 100644 --- a/etc/logrotate.d/barbican-api +++ b/etc/logrotate.d/barbican-api @@ -1,7 +1,7 @@ # logrotate.d configuration -# Used in rpm build. Keep in sync with debian/barbican-api.logrotate +# Used in rpm build. -/var/log/barbican/barbican-api.log { +/var/log/barbican/*.log { daily missingok compress