From c355358ab847afe2eabfa6112311b07953a4bc3c Mon Sep 17 00:00:00 2001
From: Amandine PERRIN <amandine.perrin@pasteur.fr>
Date: Mon, 2 Sep 2019 11:58:10 +0200
Subject: [PATCH] Put a logger name, do not use root one

---
 PanACoTA/subcommands/annotate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PanACoTA/subcommands/annotate.py b/PanACoTA/subcommands/annotate.py
index 0a147f48..8c3b7880 100755
--- a/PanACoTA/subcommands/annotate.py
+++ b/PanACoTA/subcommands/annotate.py
@@ -269,7 +269,7 @@ def main(cmd, list_file, db_path, db_path2, res_dir, name, date, l90=100, nbcont
     if verbose >= 15:
         level = logging.DEBUG
     logfile_base = os.path.join(res_dir, "PanACoTA-annotate_" + listfile_base)
-    logfile_base = utils.init_logger(logfile_base, level, name='', details=True,
+    logfile_base = utils.init_logger(logfile_base, level, name='annotate', details=True,
                                 verbose=verbose, quiet=quiet)
     logger = logging.getLogger('')
     logger.info("Command used\n \t > " + cmd)
-- 
GitLab