From 954699a087ee362b3f33af52f12f06afd8c344c6 Mon Sep 17 00:00:00 2001 From: Alex Stuart Date: Tue, 9 Apr 2024 12:12:09 +0100 Subject: [PATCH] Removed rsync of logfiles from Test SP. See ukf/ukf-meta#423 for details --- utilities/stats-sync.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/utilities/stats-sync.sh b/utilities/stats-sync.sh index d97dc16..edfad41 100755 --- a/utilities/stats-sync.sh +++ b/utilities/stats-sync.sh @@ -23,13 +23,9 @@ rsync -at --exclude modsec* stats@www-we-01:/var/log/httpd/* $logslocation/www/w rsync -at --exclude modsec* stats@test-idp:/var/log/httpd/* $logslocation/test-idp/ rsync -at stats@test-idp:/opt/shibboleth-idp/logs/idp-audit* $logslocation/test-idp/ -# Logs from Test SP +# Logs from Test SP inaccessible once the Test SP migrated to 2024 infrastructure # # The Test SP has a cronjob to remove logs with PII > 30 days old, we replicate that in this script -# -rsync -at --exclude modsec* stats@test-sp:/var/log/httpd/* $logslocation/test-sp/ -rsync -at stats@test-sp:/var/log/shibboleth/shibd* $logslocation/test-sp/ -rsync -at stats@test-sp:/var/log/shibboleth/transaction* $logslocation/test-sp/ find $logslocation/test-sp/ -type f -mtime +90 -delete # Exit happily