aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/internal_eval/_helpers.py
diff options
context:
space:
mode:
authorGravatar Janine vN <[email protected]>2021-04-11 11:36:56 -0400
committerGravatar Janine vN <[email protected]>2021-04-11 11:36:56 -0400
commit2cc2a2e618ed019de00054c768613e3e6ba2470c (patch)
tree36d3f51729250f01953df421f81759ee0c1949b1 /bot/exts/internal_eval/_helpers.py
parentCorrect prefix usage in a doctstring (diff)
Correct logger name
Changed the initialization of the logging to pull dynamically so it can actually log correctly.
Diffstat (limited to 'bot/exts/internal_eval/_helpers.py')
-rw-r--r--bot/exts/internal_eval/_helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/internal_eval/_helpers.py b/bot/exts/internal_eval/_helpers.py
index 8b991d98..bd36520d 100644
--- a/bot/exts/internal_eval/_helpers.py
+++ b/bot/exts/internal_eval/_helpers.py
@@ -11,7 +11,7 @@ import types
import typing
-log = logging.getLogger("rattlesnake.exts.admin_tools.internal_eval")
+log = logging.getLogger(__name__)
# A type alias to annotate the tuples returned from `sys.exc_info()`
ExcInfo = typing.Tuple[typing.Type[Exception], Exception, types.TracebackType]