Skip to content

Conversation

Watson1978
Copy link
Contributor

logger gem will be changed bundled gem since Ruby 3.5.0.
So, when I use fluent-logger-ruby with Ruby 3.4, it show the following warning:

/home/watson/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/gems/fluent-logger-0.9.1/lib/fluent/logger/fluent_logger.rb:23: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add logger to your Gemfile or gemspec to silence this warning.

This patch will fix the warning.

Signed-off-by: Shizuo Fujita <[email protected]>
Signed-off-by: Kentaro Hayashi <[email protected]>
Copy link
Contributor

@kenhys kenhys left a comment

Choose a reason for hiding this comment

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

LGTM.

@kenhys kenhys merged commit 936362c into fluent:master Feb 15, 2025
7 checks passed
@Watson1978 Watson1978 deleted the logger branch February 15, 2025 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants