1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-16 01:54:19 +02:00

2648 Commits

Author SHA1 Message Date
Jordi Boggiano
38449de333 Merge pull request #1411 from finwe/readme-contributors-pronoun
Correct pronoun in readme for contributors
2019-12-11 22:01:17 +01:00
Matěj Humpál
3e777f7245 Correct pronoun in readme for contributors 2019-12-11 15:56:32 +01:00
Jordi Boggiano
596348e5c3 Merge pull request #1400 from tpraxl/fix/docblock
Fix misleading @throws tag in StreamHandler doc
2019-12-07 16:40:45 +01:00
Jordi Boggiano
633bcd5268 Also fix SoapFault handling in LineFormatter, refs #1391 2019-12-07 16:37:53 +01:00
Jordi Boggiano
798cbf9881 Merge branch '1.x' 2019-12-07 13:18:19 +01:00
Jordi Boggiano
b928039c23 Merge pull request #1406 from mpdude/fix-tr-locale
Fix a bug when using string-based loglevels in the `tr_TR` locale
2019-12-07 13:16:30 +01:00
Jordi Boggiano
12e0bd9503 Merge pull request #1407 from ninze/master
More detailed ElasticsearchHandler exceptions
2019-12-07 12:54:12 +01:00
Matthias Pigulla
f8245696b3 Use strtr() instead of strtoupper() to avoid bogus results
For examle the tr_TR locale will upper-case "i" to the
"latin capital letter i with dot above" İ.
2019-12-07 11:40:26 +00:00
Karolis
33794125e3 ElasticsearchHandler indentation fixes 2019-12-07 10:11:40 +00:00
Karolis
c8cd53dc0f More detailed ElasticsearchHandler exceptions 2019-12-07 10:08:00 +00:00
Thomas Praxl
764601c606 Expect and document a more concrete exception type
As was proposed during review.
2019-11-25 12:01:34 +01:00
Jordi Boggiano
11fb4f9270 Merge branch '1.x' 2019-11-15 15:56:08 +01:00
Jordi Boggiano
ea216b0e2f Merge pull request #1402 from dmaicher/issue-1401
FilterHandler: fix handle empty batch of filtered records
2019-11-15 15:47:16 +01:00
Jordi Boggiano
3c3ff5881c Avoid calling nested handler entirely if there is nothing left to handle 2019-11-15 15:46:53 +01:00
David Maicher
525d29847a FilterHandler: fix handle empty batch of filtered records 2019-11-15 13:07:02 +01:00
Thomas Praxl
3dcb1919a3 Fix misleading @throws tag in StreamHandler doc
The `\Exception` for non-existing and not creatable paths is thrown earliest on first write.
Not during StreamHandler instantiation, as claimed by the constructor's `@throws` tag.
2019-11-15 09:07:02 +01:00
Jordi Boggiano
f9d56fd2f5 Prepare changelog 2.0.1 2019-11-13 11:27:43 +01:00
Jordi Boggiano
e5309196ce Merge branch '1.x' 2019-11-13 11:00:16 +01:00
Jordi Boggiano
d5e2fb341c Add missing use statement 1.25.2 2019-11-13 11:00:05 +01:00
Jordi Boggiano
4e19f3c585 Merge branch '1.x' 2019-11-13 10:58:42 +01:00
Jordi Boggiano
ac44cccd84 Update changelog 2019-11-13 10:54:16 +01:00
Jordi Boggiano
4a70fb3353 Add formatter forwarding to BufferHandler as well 2019-11-13 10:51:07 +01:00
Jordi Boggiano
ec3e0e3f90 set json flags correctly for SlackRecord, fixes #1396, closes #1397 2019-11-13 10:47:25 +01:00
Jordi Boggiano
f97cc755af Fix 5.3/5.4 builds 2019-11-12 22:28:59 +01:00
Jordi Boggiano
dc2895c80d Suppress errors when json_encode has ignoreErrors set 2019-11-12 22:18:23 +01:00
Jordi Boggiano
05f6ed7205 Fix php 5.3 syntax 2019-11-12 22:10:50 +01:00
Jordi Boggiano
9776fa1d54 Fix type error, fixes #1382 2019-11-12 21:52:37 +01:00
Jordi Boggiano
0b9ee7e636 Merge branch '1.x' 2019-11-12 21:50:28 +01:00
Jordi Boggiano
12a76ad61e Fix usages of json_encode which did not handle invalid UTF8 gracefully, fixes #1392 2019-11-12 21:24:23 +01:00
Jordi Boggiano
e1af546a55 Handle detail key of SoapFault being an object, fixes #1391 2019-11-12 20:49:34 +01:00
Jordi Boggiano
cf77550dca Make sure all exception codes are integers, fixes #1393 2019-11-12 20:38:27 +01:00
Trevor North
0ff3a9bd03 Fix BrowserConsoleHandler formatting
This resolves an issue whereby all styles would be applied in reverse
order to the formatting markers.
2019-11-12 20:36:02 +01:00
Jordi Boggiano
ae84612017 Merge branch '1.x' 2019-11-11 18:34:16 +01:00
Jordi Boggiano
65f1f304d4 Add forwarding of formatter functions to nested handlers in Sampling, Filter and FingersCrossed handlers, and fix handling of callable factory handler config, fixes #1386, closes #1387 2019-11-11 18:21:38 +01:00
Jordi Boggiano
bb78e060e4 Merge pull request #1384 from amino-garricklam/skip_normalize_traversable
JsonFormatter: Don't even try to attempt normalizing iterators or generators in context
2019-11-11 10:04:19 +01:00
Jordi Boggiano
f35dac526c Update README.md 2019-11-08 07:40:51 +01:00
Jordi Boggiano
21faa8ed19 Create FUNDING.yml 2019-11-08 07:34:44 +01:00
Jordi Boggiano
9c2dde02b6 Update SECURITY.md 2019-11-08 07:26:31 +01:00
Garrick Lam
b271cd4294 Don't even try to attempt normalizing iterators or generators in context
Iterators and Generators may not be rewindable, so foreach is not safe
to use on them.

Iterators and especially Generators may trigger irreversible actions on
calling next(), so iterating over all values can potentially cause harm,
e.g. imagine an iterator over a set of HTTP POST requests that are sent
when the next value is requested . The only sufficiently safe thing to
iterate and include here are primitive arrays.
2019-11-08 10:49:56 +08:00
Jordi Boggiano
daf42b846f Merge pull request #1389 from Zarthus/gh-issues
github: implement newer version of issue templates
2019-11-07 10:15:19 +01:00
Jordi Boggiano
e188521520 Merge pull request #1390 from Zarthus/github-security
github: Add security header
2019-11-07 10:14:38 +01:00
Jordi Boggiano
e4d2e959a1 Merge pull request #1395 from RoboFinance/fix-test
Fix testWriteOpensProcessAndWritesToStdInOfProcess
2019-11-07 10:12:51 +01:00
Jordi Boggiano
1442230941 Merge pull request #1394 from RoboFinance/cast-html-formatter
HtmlFormatter cast key to string in addRow
2019-11-07 10:11:53 +01:00
Alexander Dmitryuk
b7cee792db fix test 2019-11-05 14:48:20 +07:00
Alexander Dmitryuk
3a2d7379a7 HtmlFormatter addRow cast key to string 2019-11-05 14:22:27 +07:00
Jos Ahrens
e237839d94 github: Add security header
Tying in with #1389, this will add a new section
to the 'create new issue' and also be visible in the
'security' tab on GitHub

It's been left intentionally generic.
2019-10-21 18:53:18 +00:00
Jos Ahrens
6a6c2ac8fa github: implement newer version of issue templates
Moves away from the older version of GitHub issue templates, includes
automatic labelling.

more reading:
https://help.github.com/en/github/building-a-strong-community/about-issue-and-pull-request-templates
2019-10-21 18:46:21 +00:00
Jordi Boggiano
6d51b31979 Merge pull request #1379 from Heier2013/patch-1
Update 01-usage.md
2019-09-17 09:44:07 +02:00
Heier
74215b17a2 Update 01-usage.md
The default date format is changed, so edit documents synchronously.
2019-09-15 12:16:35 +08:00
Jordi Boggiano
bd95e23bd2 Merge pull request #1375 from DavidPrevot/perm
Fix file permission
2019-09-09 13:53:32 +02:00