How to disable sentry on development environment?
See original GitHub issueHi, I am using raven 3.6.0 for production and test environments however I don’t need it sending exceptions and messages from my local development environment, how can I disable it and prevent this message from appearing on my shell or every time I call capture*
:
Raven is not configured (logging is disabled). Please see the documentation for more information.
Issue Analytics
- State:
- Created 9 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
How to disable sentry on dev environment ? · Issue #76 - GitHub
I don't know if there's another way to do it, but I set an empty parameter in dev environment. #config.yml sentry: dsn: "%sentry_dsn%" ......
Read more >Disable Sentry for development environment
How do I disable Sentry for only development environment? String dns = null; Sentry. init(dns);
Read more >How to turn off Sentry in development and test environment?
How can I configure Sentry to only log the production and staging environments? (not development nor test environments).
Read more >Using Sentry.io for Local Development | Firefox Ecosystem ...
To enable sentry for local development, simply set these environment variables in your root-level .env file (that you may need to create) to...
Read more >Environment | Sentry Developer Documentation
This guide steps you through configuring a local development environment for ... remove all existing Docker containers, all Docker volumes, and ~/.sentry/ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you dont configure it it wont be enabled. That is, dont set the DSN value.
If you want to change logging, you can do that via your logging configuration.
Something like: