Skip to content

Allow overriding the browser log channel#594

Merged
pushpak1300 merged 1 commit intomainfrom
allow-overriding-browser-log-channel
Feb 20, 2026
Merged

Allow overriding the browser log channel#594
pushpak1300 merged 1 commit intomainfrom
allow-overriding-browser-log-channel

Conversation

@pushpak1300
Copy link
Member

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

Ports #589 by @SanderMuller to main.

Approach

  • Add a null check so the default browser channel is only applied when the user hasn't defined their own

Co-Authored-By: Sander Muller <9074391+SanderMuller@users.noreply.github.com>
@pushpak1300 pushpak1300 marked this pull request as ready for review February 20, 2026 08:11
@pushpak1300 pushpak1300 merged commit a475ecb into main Feb 20, 2026
18 checks passed
@pushpak1300 pushpak1300 deleted the allow-overriding-browser-log-channel branch February 20, 2026 08:12
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.

1 participant

Comments