Skip to content

Commit

Permalink
Remove noisy span debug logging (#951)
Browse files Browse the repository at this point in the history
Co-authored-by: Trevor Riles <[email protected]>
  • Loading branch information
trevorriles and Trevor Riles authored Jul 24, 2024
1 parent 06d67b3 commit 9f431e7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions baseplate/server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,8 @@ def __init__(
self.baseplate_global_attributes = attributes

def on_start(self, span: Span, parent_context: Optional[Context] = None) -> None:
logger.warning("Starting new span. [span=%s, parent_context=%s]", span, parent_context)
if self.baseplate_global_attributes:
span.set_attributes(self.baseplate_global_attributes)
logger.warning(
"Added global attributes to new span. [span=%s, baseplate_global_attributes=%s]",
span,
self.baseplate_global_attributes,
)
super().on_start(span, parent_context)


Expand Down

0 comments on commit 9f431e7

Please sign in to comment.