Skip to content

Conversation

@bougyman
Copy link
Member

@bougyman bougyman commented Aug 8, 2025

No description provided.

Copilot AI review requested due to automatic review settings August 8, 2025 12:53
@bougyman bougyman added the bug Something isn't working label Aug 8, 2025
@bougyman bougyman self-assigned this Aug 8, 2025
@bougyman bougyman requested a review from kthibodeaux August 8, 2025 12:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a configuration leak issue by removing global SemanticLogger configuration from the main library file and moving it to the example files where it's actually needed. This prevents the library from forcing logging configuration on consumers.

  • Removed global SemanticLogger appender configuration from the main library
  • Added explicit SemanticLogger configuration to example files where logging output is desired

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
lib/leopard.rb Removed global SemanticLogger appender that was leaking to library consumers
examples/echo_endpoint.rb Added explicit SemanticLogger configuration for the example application

@bougyman bougyman merged commit 524595c into main Aug 8, 2025
4 checks passed
@bougyman bougyman deleted the do-not-leak branch August 8, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants