Skip to content
Snippets Groups Projects
Commit c7b51a56 authored by Wainer Vandelli's avatar Wainer Vandelli
Browse files

Improve debug output for file matching

parent 799e5b9a
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,7 @@ from Conf import DrivenPool ...@@ -19,6 +19,7 @@ from Conf import DrivenPool
import math import math
from utils import set_log_level,formatter,thread_id_string from utils import set_log_level,formatter,thread_id_string
from itertools import chain from itertools import chain
import pprint
class ManagerThread(threading.Thread): class ManagerThread(threading.Thread):
...@@ -233,7 +234,7 @@ class ManagerThread(threading.Thread): ...@@ -233,7 +234,7 @@ class ManagerThread(threading.Thread):
#### .data files from current run, locked when taken by CopyThread #### .data files from current run, locked when taken by CopyThread
files = sum([glob.glob(os.path.join(folder,p)) for p in self.DataFilePattern],[]) 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: for file in files:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment