From b956d65f57ff07270cf16fd24ff6816756377a93 Mon Sep 17 00:00:00 2001 From: Dimitris Papagiannis Date: Fri, 1 Dec 2023 11:40:00 +0100 Subject: [PATCH] Make logrotate more verbose for debugging --- deploy_dqmgui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy_dqmgui.sh b/deploy_dqmgui.sh index b56b9f8..94595dd 100755 --- a/deploy_dqmgui.sh +++ b/deploy_dqmgui.sh @@ -134,7 +134,7 @@ install_crontab() { crontab -l # Get existing crontabs echo "17 2 * * * $INSTALLATION_DIR/current/config/dqmgui/daily" echo "@reboot $INSTALLATION_DIR/current/config/dqmgui/manage sysboot" - echo "0 3 * * * logrotate $INSTALLATION_DIR/current/sw/cms/dqmgui/$DQMGUI_GIT_TAG/128/etc/logrotate.conf --state $INSTALLATION_DIR/state/dqmgui/logrotate.state" + echo "0 3 * * * logrotate $INSTALLATION_DIR/current/sw/cms/dqmgui/$DQMGUI_GIT_TAG/128/etc/logrotate.conf --state=$INSTALLATION_DIR/state/dqmgui/logrotate.state --verbose --log=$INSTALLATION_DIR/logs/dqmgui/logrotate.log" ) | crontab - }