-
Notifications
You must be signed in to change notification settings - Fork 145
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
Improve console behavior in Rails applications #622
Comments
@stympy @rabidpraxis @subzero10 thoughts on this? |
But the production Rails console doesn't log SQL queries, whereas the development console does, so if we want to follow Rails conventions, we could match that behavior for logging. As for automatic instrumentation, I think we should disable that for all console sessions. |
So if we just want to keep the current behavior (but fix the 12-factor issue), we could add the explicit That way, It sounds like that's what we're leaning towards? |
Sounds good to me! |
👍🏻 |
@roelbondoc go ahead and submit a PR for your branch when you get the chance! |
Currently, the gem's behavior in
rails console
could use improvement, particularly around logging and automatic instrumentation. This affects both development and production environments.Current Behavior
HONEYBADGER_INSIGHTS_ENABLED
environment variableProblems
Current Workaround
Set
HONEYBADGER_LOGGING_TTY_LEVEL=ERROR
Potential Solutions
New Console-Specific Configuration:
HONEYBADGER_INSIGHTS_CONSOLE_ENABLED
(opt-in approach) — see theconfig-insights-console-enabled
branch for a config exampleDisable All Features in Console:
Improve Logging Control:
Questions to Consider
Related
The text was updated successfully, but these errors were encountered: