From 6cda17436ad8ba36a34da745d92a22ccdde0b065 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 14 Oct 2021 11:47:06 -0400 Subject: [PATCH] Add nooz --- newsfragments/243.rst | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 newsfragments/243.rst diff --git a/newsfragments/243.rst b/newsfragments/243.rst new file mode 100644 index 0000000..498377b --- /dev/null +++ b/newsfragments/243.rst @@ -0,0 +1,9 @@ +Add a custom 'CANCEL' log level and use through runtime. + +In order to reduce log messages and also start toying with the idea of +"application layer" oriented tracing, we added this new level just above +'runtime' but just below 'info'. It is intended to be used solely for +cancellation and teardown related messages. Included are some small +overrides to the stdlib's ``logging.LoggerAdapter`` to passthrough the +correct stack frame to show when one of the custom level methods is +used.