Skip to content

Commit 3a7ac58

Browse files
committed
Revert instrumentor log changes
1 parent a8e0afe commit 3a7ac58

File tree

1 file changed

+2
-7
lines changed
  • opentelemetry-auto-instrumentation/src/opentelemetry/auto_instrumentation

1 file changed

+2
-7
lines changed

opentelemetry-auto-instrumentation/src/opentelemetry/auto_instrumentation/instrumentor.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ def instrument(self, **kwargs):
5252
self._is_instrumented = True
5353
return result
5454

55-
_LOG.warning(
56-
"Attempting to automatically instrument while already instrumented"
57-
)
55+
_LOG.warning("Attempting to instrument while already instrumented")
5856

5957
return None
6058

@@ -66,10 +64,7 @@ def uninstrument(self, **kwargs):
6664
self._is_instrumented = False
6765
return result
6866

69-
_LOG.warning(
70-
"Attempting to automatically uninstrument while already"
71-
" uninstrumented"
72-
)
67+
_LOG.warning("Attempting to uninstrument while already uninstrumented")
7368

7469
return None
7570

0 commit comments

Comments
 (0)