From 026e744db85d114f8eb278bab61b3e935e3464d5 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Wed, 1 Apr 2015 12:03:33 +0000 Subject: [PATCH] Specify the per host crawler log directory. --- roles/mirrormanager/frontend2/templates/mirrormanager2.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg index b81f584d0b..370f5028eb 100644 --- a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg +++ b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg @@ -94,6 +94,10 @@ CRAWLER_RSYNC_PARAMETERS = '--no-motd --timeout 14400' # Configuration options used by the crons ### +# If this variable is set (and the directory exists) +# the crawler will create per host log files with .log +# which can the be used in the web interface by the mirror admins +CRAWLER_LOG_DIR = '/var/log/mirrormanager/crawler' # Specify whether the crawler should send a report by email CRAWLER_SEND_EMAIL = False