We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a3fd6c commit e57ab45Copy full SHA for e57ab45
src/instana/instrumentation/logging.py
@@ -26,7 +26,7 @@ def log_with_instana(
26
# We take into consideration if `stacklevel` is already present in `kwargs`.
27
# This prevents the error `_log() got multiple values for keyword argument 'stacklevel'`
28
stacklevel_in = kwargs.pop("stacklevel", 1)
29
- stacklevel = stacklevel_in + 1
+ stacklevel = stacklevel_in + 1 + (sys.version_info >= (3, 14))
30
31
try:
32
# Only needed if we're tracing and serious log
0 commit comments