From a3066c6ffa45e80574d2080e98ea693a375c9e26 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Fri, 9 Feb 2018 13:34:14 +0100
Subject: [PATCH] mention the name of the file also in the logger

---
 bob/bio/base/script/annotate.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bob/bio/base/script/annotate.py b/bob/bio/base/script/annotate.py
index 35f3f16d..06b695f3 100644
--- a/bob/bio/base/script/annotate.py
+++ b/bob/bio/base/script/annotate.py
@@ -83,7 +83,8 @@ def annotate(database, annotator, output_dir, force, array, **kwargs):
                 continue
 
         logger.info(
-            "Extracting annotations for sample %d out of %d", i + 1, total)
+            "Extracting annotations for sample %d out of %d: %s", i + 1, total,
+            outpath)
         data = annotator.read_original_data(
             biofile, database.original_directory, database.original_extension)
         annot = annotator(data)
-- 
GitLab