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

[8.x] Fixes logging deprecations when null driver do not exist #39809

Merged
merged 1 commit into from Nov 29, 2021

Conversation

nunomaduro
Copy link
Member

By default, Laravel logs deprecations to the null log driver. While this driver exists in probably most of the applications, there is this edge case where applications upgrading from old versions of Laravel don't have their config/logging.php configuration file up-to-date.

This pull request ensures there is always a null log driver available, avoiding an runtime exception Unable to create configured "null" logger. Using emergency logger....

@taylorotwell taylorotwell merged commit 606ac0a into 8.x Nov 29, 2021
@taylorotwell taylorotwell deleted the fix/deprecations-when-null-driver-does-not-exist branch November 29, 2021 14:29
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

Successfully merging this pull request may close these issues.

None yet

2 participants