Jordi Boggiano
bfc9ebb28f
Update changelog date
1.24.0
2018-11-05 10:00:11 +01:00
Jordi Boggiano
6b5a392d87
Update changelog
2018-11-04 23:49:26 +01:00
Jordi Boggiano
b80352368c
Add Logger::close and clarify what close and reset do plus
2018-11-04 22:15:25 +01:00
Jordi Boggiano
712c5dacf6
Make static method static
2018-11-04 19:34:52 +01:00
Jordi Boggiano
ceebd568a2
Remove getClass func from Registry as it was moved to Utils class
2018-11-04 18:41:02 +01:00
Jordi Boggiano
24dafdeb8e
Merge pull request #1117 from RGustBardon/rgb/signal-handler
...
Register signal handlers
2018-11-04 18:28:17 +01:00
Jordi Boggiano
42d84e6a8d
Move getClass method to a Utils class, refs #1190
2018-11-04 18:23:20 +01:00
Jordi Boggiano
ca3813e31f
Merge remote-tracking branch 'nicolas-grekas/anon' into 1.x
2018-11-04 18:00:46 +01:00
Jordi Boggiano
a03084c6e7
Merge pull request #997 from lyrixx/resetable
...
Added a new ResettableInterface and implemented it where possible.
2018-11-04 17:43:12 +01:00
Jordi Boggiano
531d05a802
Merge branch '1.x' into resetable
2018-11-04 17:43:01 +01:00
Jordi Boggiano
d64fd101b7
Merge pull request #1188 from nicolas-grekas/raven-url
...
Update Raven client package URL
2018-11-04 17:24:41 +01:00
Matt K
dd144f7fa2
Added ability to pass in host parameter for LogEntriesHandler, closes #1174 , fixes #1173
2018-11-04 17:16:31 +01:00
Ramil Valitov
e11012dfde
[fix] change private vars to protected
2018-11-04 17:14:32 +01:00
Jordi Boggiano
916b034b2b
Add support for passing sentry contexts through monolog context or extra, closes #1214
2018-11-04 17:14:32 +01:00
Jordi Boggiano
5b1bf00729
Merge pull request #1204 from nicolas-grekas/processor-if
...
Add ProcessorInterface, an optional one to allow labelling Monolog processors
2018-11-04 16:54:28 +01:00
Nicolas Grekas
db8130ce83
Add ProcessorInterface, an optional one to allow labelling Monolog processors
2018-10-12 12:14:11 -07:00
Nicolas Grekas
9117a6c747
Fix displaying anonymous classes
2018-09-24 20:18:56 +02:00
Nicolas Grekas
bff2c8488e
Update Raven client package URL
2018-08-09 08:21:24 +02:00
Grégoire Pineau
0625068bf0
Added a new ResettableInterface and implemented it where possible.
...
When one use Monolog in a long process like an AMQP worker with a
`FingersCrossedHandler` or `BufferHandler` there is a drawback: as soon as there
is an AMQP message that generate a log >= error (for example), all next AMQP
messages will output logs, even if theses messages don't generate log where
level >= error.
In the same context there is a drawback for processor that add an UUID to the
logs. The UUID should change for each AMQP messages.
---
This patch address this issue with a new interface: `ResettableInterface` interface.
Side note: `reset()`, `flush()`, `clear()`, are already used in Monolog. So
basically, one can use the `reset()` on the `Logger` and on some
`Handler`s / `Processor`s.
It's especially useful for
* the `FingersCrossedHandler`: it `close()` the buffer, then it `clear()` the buffer.
* the `BufferHandler`: it `flush()` the buffer, then it `clear()` the buffer.
* the `UidProcessor`: it renew the `uid`.
2018-07-06 16:07:13 +02:00
Robert Gust-Bardon
37b587687d
Move POSIX signal handling to SignalHandler*
...
Suggested by Helmut Hummel (@helhum).
2018-07-01 23:42:41 -05:00
Jordi Boggiano
c465e11445
Clarify NewRelicHandler requirements, closes #1123
2018-06-19 09:22:34 +02:00
Robert Gust-Bardon
23fd84fec0
Wait for children that are being tested
2018-06-18 11:25:41 -05:00
Robert Gust-Bardon
25c427a0e4
Add a missing @dataProvider
2018-06-18 11:17:10 -05:00
Jordi Boggiano
ee10777821
Fix hipchat dropping messages, fixes #1116
2018-06-18 17:58:11 +02:00
Jordi Boggiano
7c549e383c
Update changelog
2018-06-18 17:31:08 +02:00
Jordi Boggiano
3e92b08956
Avoid information leaks through call_user_func arguments, fixes #1138
2018-06-18 17:21:54 +02:00
Jordi Boggiano
57a8a172e5
Update changelog
2018-06-18 16:38:33 +02:00
Petter Blomberg
f753c68a73
Make context optional in hasRecord to not break backwards compatibility
2018-06-18 15:52:04 +02:00
Petter Blomberg
b381a973bc
Make TestHandler::hasRecord assert context, not only message
2018-06-18 15:50:12 +02:00
Robert Gust-Bardon
ad5b8f41b0
Merge branch '1.x' into rgb/signal-handler
2018-06-18 08:18:18 -05:00
Klemen Bratec
e8db808dd3
Allow setting stream chunk size in SocketHandler ( #1129 )
2018-06-18 11:31:46 +02:00
Jordi Boggiano
fd29c89e3c
Merge pull request #1080 from open-sausages/pulls/1/error-trace
...
ENHANCEMENT Ensure 'trace' is captured for fatal non-exceptions
2018-06-18 10:00:18 +02:00
Jordi Boggiano
c99a3e98a6
Merge pull request #1146 from pauluswebster/newrelic-throwable-fix
...
NewRelicHandler - handle Throwable in PHP7
2018-06-17 18:54:31 +02:00
Jordi Boggiano
00aca28c8b
Fix SlackRecord normalization of fields, closes #1078
2018-06-17 18:03:59 +02:00
Andrew Berry
0d993d84d1
Normalization of arrays containing self references ( #1050 )
...
Backport normalization fix from master to 1.x
2018-06-17 17:27:33 +02:00
Sergey Zaika
6e1793e966
Getter for SwiftMailerHandler subject formatter
2018-06-17 15:43:16 +02:00
Jordi Boggiano
120c434db9
Verify handlers types, fixes #1131
2018-06-11 17:30:42 +02:00
Jordi Boggiano
a6be840ff8
Merge pull request #1052 from gmsantos/1.x
...
Include InsightOps handler
2018-06-11 17:30:04 +02:00
Jordi Boggiano
5de973cd33
More 5.3 fixes
2018-06-09 10:23:30 +02:00
Jordi Boggiano
06f7bfb0ee
Fix 5.3 build
2018-06-08 23:41:14 +02:00
Jordi Boggiano
f6842ac92d
Avoid breaking the gelf handler when closing it, fixes #1016
2018-06-08 23:19:28 +02:00
Minh-Quan TRAN
ada5d30511
If context has exactly 1000 items, do not truncate
2018-06-08 22:18:08 +02:00
Alban Kora
5f8783686e
Fixing file rotation when similar files are present
2018-06-08 22:10:08 +02:00
Jordi Boggiano
2893c2b875
Specify text color to improve dark theme support, refs #1128
2018-06-08 21:43:50 +02:00
Thomas Schulz
948bb4a6a0
Improve table row output in HtmlFormatter
2018-06-08 21:41:18 +02:00
Jordi Boggiano
6d79e51f91
Tweaks to exception handler, refs #1012
2018-06-08 21:02:44 +02:00
Jordi Boggiano
4814446331
Merge remote-tracking branch 'vincepare/1.x' into 1.x
2018-06-08 20:44:28 +02:00
Chris Wilkinson
3035d4a251
Fix WhatFailureGroupHandler::handleBatch when the handler has processors
2018-06-08 20:39:17 +02:00
Ben Dubuisson
22b92c7c00
Fixed message not being passed to client when capturing an exception
...
The raven client expects the message to be at the first level of the data array when passing an exception.
see https://github.com/getsentry/sentry-php/blob/master/lib/Raven/Client.php#L795
2018-06-08 20:19:10 +02:00
Josh McRae
c0eeca76fd
Check for directory before throwing 'no existing directory' exception
2018-06-08 12:51:29 +02:00