From 268e7484176de33f994de13aa898d2957fc58c58 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 22 Sep 2020 20:57:37 -0400 Subject: [PATCH] Drop extra prefix in logs --- piker/log.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/piker/log.py b/piker/log.py index 7d92d566..958de010 100644 --- a/piker/log.py +++ b/piker/log.py @@ -7,7 +7,9 @@ import json import tractor from pygments import highlight, lexers, formatters -_proj_name = 'piker' +# Makes it so we only see the full module name when using ``__name__`` +# without the extra "piker." prefix. +_proj_name = '' def get_logger(name: str = None) -> logging.Logger: