From 706971edbeaa9cfe64d4c1cf8d38fab0daa778fc Mon Sep 17 00:00:00 2001
From: Jack Robison <jackrobison@lbry.io>
Date: Wed, 18 May 2022 14:41:34 -0400
Subject: [PATCH] fix logging

---
 hub/common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hub/common.py b/hub/common.py
index 172a3b5..f077c01 100644
--- a/hub/common.py
+++ b/hub/common.py
@@ -47,7 +47,7 @@ STREAM_TYPES = {
 
 
 def setup_logging(log_path: str):
-    log = logging.getLogger('scribe')
+    log = logging.getLogger()
     fmt = logging.Formatter("%(asctime)s %(levelname)-4s %(name)s:%(lineno)d: %(message)s")
     handler = logging.handlers.RotatingFileHandler(log_path, maxBytes=1024*1024*5, backupCount=2)
     handler.setFormatter(fmt)