@@ -104,7 +104,7 @@ def _load_instrumentors(distro):
104104 entry_point_dist = entry_point_finder .dist_for (entry_point )
105105 conflict = get_dist_dependency_conflicts (entry_point_dist )
106106 if conflict :
107- print ("conflict found %s: %s" % (entry_point .name , conflict ))
107+ # print("conflict found %s: %s" % (entry_point.name, conflict))
108108 _logger .debug (
109109 "Skipping instrumentation %s: %s" ,
110110 entry_point .name ,
@@ -115,7 +115,7 @@ def _load_instrumentors(distro):
115115 # tell instrumentation to not run dep checks again as we already did it above
116116 distro .load_instrumentor (entry_point , skip_dep_check = True )
117117 _logger .debug ("Instrumented %s" , entry_point .name )
118- print ("Instrumented %s" % entry_point .name )
118+ # print("Instrumented %s" % entry_point.name)
119119 # except DependencyConflictError as exc:
120120 # print(
121121 # "Skipping instrumentation %s: %s" % (
@@ -147,15 +147,15 @@ def _load_instrumentors(distro):
147147 # environment regarding python version, libc, etc... In this case it's better
148148 # to skip the single instrumentation rather than failing to load everything
149149 # so treat differently ImportError than the rest of exceptions
150- print (
151- "Skipping instrumentation %s: ImportError" % entry_point .name
152- )
150+ # print(
151+ # "Skipping instrumentation %s: ImportError" % entry_point.name
152+ # )
153153 _logger .exception (
154154 "Importing of %s failed, skipping it" , entry_point .name
155155 )
156156 continue
157157 except Exception as exc : # pylint: disable=broad-except
158- print ("Skipping instrumentation %s: %s" % (entry_point .name , exc ))
158+ # print("Skipping instrumentation %s: %s" % (entry_point.name, exc))
159159 _logger .exception ("Instrumenting of %s failed" , entry_point .name )
160160 raise exc
161161
0 commit comments