From c7b51a5606a8383c9b9e83fd6ce463f77dc4d019 Mon Sep 17 00:00:00 2001 From: Wainer Vandelli <Wainer.Vandelli@cern.ch> Date: Thu, 6 Dec 2012 11:16:33 +0000 Subject: [PATCH] Improve debug output for file matching --- Script/ManagerThread.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Script/ManagerThread.py b/Script/ManagerThread.py index 66ad17a..3b02a67 100755 --- a/Script/ManagerThread.py +++ b/Script/ManagerThread.py @@ -19,6 +19,7 @@ from Conf import DrivenPool import math from utils import set_log_level,formatter,thread_id_string from itertools import chain +import pprint class ManagerThread(threading.Thread): @@ -233,7 +234,7 @@ class ManagerThread(threading.Thread): #### .data files from current run, locked when taken by CopyThread files = sum([glob.glob(os.path.join(folder,p)) for p in self.DataFilePattern],[]) - self.logger.debug('%d files found on folder %s' % (len(files), folder)) + self.logger.debug('%d files found on folder "%s" matching "%s"' % (len(files), folder, pprint.pformat(self.DataFilePattern))) for file in files: -- GitLab