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 internal buffer logger #102

Merged
merged 1 commit into from
Nov 10, 2016
Merged

Fix internal buffer logger #102

merged 1 commit into from
Nov 10, 2016

Conversation

dwbutler
Copy link
Owner

The buffer implementation vendored from Stud:Buffer has an internal logger. However, it's called with non-standard arguments not supported by Ruby's standard Logger class. This fixes the issue by logging in the standard way. A new buffer_logger configuration variable is also exposed to allow the buffer logger to be set.

Fixes #101

The buffer implementation vendored from `Stud:Buffer` has an internal logger. However, it's called with non-standard arguments not supported by Ruby's standard Logger class. This fixes the issue by logging in the standard way. A new `buffer_logger` configuration variable is also exposed to allow the buffer logger to be set.

Fixes #101
@stefansedich
Copy link

Any ideas on when this one might be merged and released? I am currently suffering some intermittent issues with logs getting to my source and really want some debug logging to try and figure it out.

@dwbutler dwbutler merged commit 93a151d into master Nov 10, 2016
@dwbutler dwbutler deleted the fix/buffer-logger branch November 10, 2016 02:32
@dwbutler
Copy link
Owner Author

Released in 0.20.0.

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

Successfully merging this pull request may close these issues.

Unable to use Ruby Logger as Buffer logger
2 participants