From 77fa39a6420f62807620dec6e9ab0a31d3e9b73b Mon Sep 17 00:00:00 2001 From: "Al hel md. shahriar zaman" Date: Fri, 20 Dec 2024 18:05:00 +0600 Subject: [PATCH] logrotate modified for backup error file --- infrastructure/logrotate.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/infrastructure/logrotate.conf b/infrastructure/logrotate.conf index 60fe35055..8b965ffe7 100644 --- a/infrastructure/logrotate.conf +++ b/infrastructure/logrotate.conf @@ -72,6 +72,13 @@ include /etc/logrotate.d rotate 1 } +/var/log/opencrvs-backup.error.log { + missingok + monthly + create 0660 root application + rotate 1 +} + /var/log/papertrail.log { missingok monthly