summaryrefslogtreecommitdiff
path: root/portato/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/__init__.py b/portato/__init__.py
index 0166170..f10b9ef 100644
--- a/portato/__init__.py
+++ b/portato/__init__.py
@@ -52,6 +52,6 @@ formatter = OutputFormatter("%(message)s (%(filename)s:%(lineno)s)")
handler = logging.StreamHandler()
handler.setFormatter(formatter)
-logging.getLogger().addHandler(handler)
-
-logging.getLogger().setLevel(logging.DEBUG)
+logging.getLogger("portatoLogger").addHandler(handler)
+logging.getLogger("portatoLogger").setLevel(logging.DEBUG)
+logging.getLogger("portatoLogger").propagate = False