Problem Description
Instana python-sensor overrides funcName which logs the message with log_with_instana
Impact: we're writing funcName for every message for easier understanding of the message origin, and currently we see log_with_instana in all places instead.
Minimal, Complete, Verifiable, Example
import logging
def random_func():
logging.info("Hello, world")
if __name__ == '__main__':
logging.basicConfig(level=logging.INFO, format="funcName:%(funcName)s message:%(message)s")
random_func()
import instana
random_func()
Expected output:
funcName:random_func message:Hello, world
funcName:random_func message:Hello, world
Actual output:
funcName:random_func message:Hello, world
funcName:log_with_instana message:Hello, world
Python Version
Python 3
Python Modules
instana @ https://github.com/instana/python-sensor/archive/refs/tags/v2.4.0.zip
Python Environment
Problem Description
Instana python-sensor overrides funcName which logs the message with
log_with_instanaImpact: we're writing funcName for every message for easier understanding of the message origin, and currently we see
log_with_instanain all places instead.Minimal, Complete, Verifiable, Example
Expected output:
Actual output:
Python Version
Python 3
Python Modules
Python Environment