-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Monolog Bridge] ChromeHeadless ChromePHPLogger support #22264
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
Labels
Comments
I would be very pragmatic here and just copy/paste the changes you made to Monolog for 2.7 (as a bug fix). And then, another PR to bump the min value and use the regex from Monolog in master. |
redthor
added a commit
to redthor/symfony
that referenced
this issue
Apr 5, 2017
fabpot
added a commit
that referenced
this issue
Apr 5, 2017
This PR was merged into the 2.7 branch. Discussion ---------- Fixes #22264 - add support for Chrome headless | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #22264 | License | MIT | Doc PR | Commits ------- a03dbd2 Fixes #22264 - add support for Chrome headless, see also Seldaek/monolog#966
fabpot
added a commit
that referenced
this issue
Apr 5, 2017
* 2.7: Fixes #22264 - add support for Chrome headless, see also Seldaek/monolog#966 Dont call sprintf() when no placeholders are used
fabpot
added a commit
that referenced
this issue
Apr 5, 2017
* 2.8: Fixes #22264 - add support for Chrome headless, see also Seldaek/monolog#966 bumped Symfony version to 2.8.20 updated VERSION for 2.8.19 updated CHANGELOG for 2.8.19 Dont call sprintf() when no placeholders are used
fabpot
added a commit
that referenced
this issue
Apr 5, 2017
* 3.2: bumped Symfony version to 3.2.8 updated VERSION for 3.2.7 updated CHANGELOG for 3.2.7 Fixes #22264 - add support for Chrome headless, see also Seldaek/monolog#966 [Workflow] update documentation URL in readme bumped Symfony version to 2.8.20 updated VERSION for 2.8.19 updated CHANGELOG for 2.8.19 Dont call sprintf() when no placeholders are used
fabpot
added a commit
that referenced
this issue
Apr 5, 2017
…m parent (redthor) This PR was merged into the 3.3-dev branch. Discussion ---------- Bump monolog to 1.19 and use the agent regex const from parent See #22264 | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | refer to #22264 | License | MIT | Doc PR | Bump monolog and use const from parent. See #22264 (comment) I went for `static` instead of `self` in case anyone wanted to easily override just the agent string. Commits ------- 69f9586 Bump monolog to 1.19 and use the agent regex const from parent, see #22264
This was referenced May 1, 2017
Merged
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have logged Seldaek/monolog#966 about getting Chromium 57 user agent string support. Unfortunately the regex is overridden by the bridge in the child class.
I can change the Symfony Monolog Bridge like so:
However to get this patch to work I'd also need to bump the monolog minimum version from
~1.11
to~1.19.0
(April 2016) to get theself::USER_AGENT_REGEX
const in the parent class.Otherwise I have to repeat that same change here as Seldaek/monolog#966
The text was updated successfully, but these errors were encountered: