@@ -223,28 +223,16 @@ async def _run_app(self, scope, receive, send, asgi_version):
223223 source = transaction_source ,
224224 origin = self .span_origin ,
225225 )
226- logger .debug (
227- "[ASGI] Created transaction (continuing trace): %s" ,
228- transaction ,
229- )
230226 else :
231227 transaction = Transaction (
232228 op = OP .HTTP_SERVER ,
233229 name = transaction_name ,
234230 source = transaction_source ,
235231 origin = self .span_origin ,
236232 )
237- logger .debug (
238- "[ASGI] Created transaction (new): %s" , transaction
239- )
240233
241234 if transaction :
242235 transaction .set_tag ("asgi.type" , ty )
243- logger .debug (
244- "[ASGI] Set transaction name and source on transaction: '%s' / '%s'" ,
245- transaction .name ,
246- transaction .source ,
247- )
248236
249237 with (
250238 sentry_sdk .start_transaction (
@@ -254,7 +242,6 @@ async def _run_app(self, scope, receive, send, asgi_version):
254242 if transaction is not None
255243 else nullcontext ()
256244 ):
257- logger .debug ("[ASGI] Started transaction: %s" , transaction )
258245 try :
259246
260247 async def _sentry_wrapped_send (event ):
@@ -309,12 +296,6 @@ def event_processor(self, event, hint, asgi_scope):
309296 event ["transaction" ] = name
310297 event ["transaction_info" ] = {"source" : source }
311298
312- logger .debug (
313- "[ASGI] Set transaction name and source in event_processor: '%s' / '%s'" ,
314- event ["transaction" ],
315- event ["transaction_info" ]["source" ],
316- )
317-
318299 return event
319300
320301 # Helper functions.
0 commit comments