Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ActiveSupport Logger broadcast compatibility #969

Merged
merged 1 commit into from Jun 2, 2023

Conversation

luismiramirez
Copy link
Member

We were using progname instead of group in the AppSignal Logger add method. Making the convenience methods such as warn, info, etc. Not logging anything when called as in:

Rails.logger.warn("Warning message")

This commits updates that to use group instead of progname as in the original Ruby Logger implementation.


Based on the contents of: #967

@tombruijn
Copy link
Member

tombruijn commented Jun 2, 2023

@luismiramirez To give Jörg co-author ship recognition by GitHub, please use his email address used in his commit, rather than his username.

We were using `progname` instead of group in the AppSignal Logger `add`
method. Making the convenience methods such as `warn`, `info`, etc. Not
logging anything when called as in:

```ruby
Rails.logger.warn("Warning message")
```

This commits updates that to use `group` instead of `progname` as in the
original Ruby Logger implementation.

Co-authored-by: Jörg Schiller <joergschiller@googlemail.com>
@luismiramirez luismiramirez merged commit ae5f057 into main Jun 2, 2023
12 checks passed
@luismiramirez luismiramirez deleted the fix-logger-add branch June 2, 2023 10:35
@luismiramirez
Copy link
Member Author

v3.4.4 of the gem covers this fix: https://rubygems.org/gems/appsignal/versions/3.4.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants