Skip to content

Allow overriding the browser log channel#589

Merged
pushpak1300 merged 2 commits intolaravel:1.xfrom
SanderMuller:allow-overriding-browser-log-channel
Feb 20, 2026
Merged

Allow overriding the browser log channel#589
pushpak1300 merged 2 commits intolaravel:1.xfrom
SanderMuller:allow-overriding-browser-log-channel

Conversation

@SanderMuller
Copy link
Contributor

registerBrowserLogger() unconditionally overwrites logging.channels.browser at runtime, making it impossible for users to customize the browser log channel in their config/logging.php.

This adds a null check so the default is only applied when the user hasn't defined their own browser channel.

SanderMuller and others added 2 commits February 19, 2026 21:32
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pushpak1300 pushpak1300 merged commit 485dd7c into laravel:1.x Feb 20, 2026
19 checks passed
@pushpak1300
Copy link
Member

Thanks !

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.

2 participants