diff --git a/instrumentation/opentelemetry-instrumentation-logging/src/opentelemetry/instrumentation/logging/__init__.py b/instrumentation/opentelemetry-instrumentation-logging/src/opentelemetry/instrumentation/logging/__init__.py index f5bad18b71..64c0bd7fda 100644 --- a/instrumentation/opentelemetry-instrumentation-logging/src/opentelemetry/instrumentation/logging/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-logging/src/opentelemetry/instrumentation/logging/__init__.py @@ -67,10 +67,9 @@ def log_hook(span: Span, record: LogRecord): Args: tracer_provider: Tracer provider instance that can be used to fetch a tracer. set_logging_format: When set to True, it calls logging.basicConfig() and sets - a logging format. + a logging format. logging_format: Accepts a string and sets it as the logging format when - set_logging_format - is set to True. + set_logging_format is set to True. log_level: Accepts one of the following values and sets the logging level to it. logging.INFO logging.DEBUG