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

LOG_DEPRECATIONS_CHANNEL is set to stack in .env.example #6397

Closed
wants to merge 1 commit into from

Conversation

nastoychev
Copy link

Setting LOG_DEPRECATIONS_CHANNEL=stack instead of LOG_DEPRECATIONS_CHANNEL=null is beneficial because it ensures that deprecation warnings and errors from PHP or packages are logged, helping to catch potential issues early on and avoid overlooking them during the initial stages of development with Laravel.

@driesvints
Copy link
Member

Feel free to do this in your own app 👍

@driesvints driesvints closed this May 3, 2024
@nastoychev
Copy link
Author

Feel free to do this in your own app 👍

I've successfully implemented it, and now I can track warnings in my laravel.log file right from the inception of development.

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