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

How to disable sentry on dev environment ? #76

Closed
ctaverne opened this issue Oct 11, 2017 · 3 comments
Closed

How to disable sentry on dev environment ? #76

ctaverne opened this issue Oct 11, 2017 · 3 comments

Comments

@ctaverne
Copy link

ctaverne commented Oct 11, 2017

Hi,

Please could you give me how to properly disable sentry on dev environment ?
What is the best practice ?

thanks

@cmmata
Copy link

cmmata commented Oct 11, 2017

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%"
    release: "%version%"

#parameters_dev.yml
sentry_dsn: ''

Also, in Sentry project I go to incoming filters in configuration and I put 127.0.0.1 in Filter errors from these IP addresses.

@ctaverne
Copy link
Author

Thanks a lot. :)

@cluis13915
Copy link

For Symfony 4 users:

#46 (comment)

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

No branches or pull requests

4 participants