Avtandil Kikabidze
3bbdf5868b
Use right format for date
2018-04-07 04:11:03 +04:00
Avtandil Kikabidze
ca326c4831
Fix class name
2018-04-07 03:56:17 +04:00
Avtandil Kikabidze
32563c49b7
Add elastic search formatter
2018-04-07 03:11:24 +04:00
Avtandil Kikabidze
57f3ca1791
Rename Elastica handler for naming consistency
2018-04-07 02:58:50 +04:00
DQNEO
39f464bd58
make compatible to phpunit 6
2018-04-02 00:54:21 +09:00
Robert Gust-Bardon
cf979844dc
Register signal handlers
2018-02-22 11:16:36 -06:00
Kris Buist
bd79504f1e
Add a ThresholdHandler
...
This handler can be used to not let any messages from a certain lever through, unless they cross a configured threshold.
This is useful together with, for example, a MailHandler when some batch processing is done and you're only interested in
major failure and not a minor one.
2017-11-17 19:16:49 +01:00
Carson Full
a21b037a00
Change LogstashFormatter to have extra/context keys instead of prefixes for the keys.
2017-10-03 12:22:44 -05:00
gmsantos
81db432c02
Include insightops handler
2017-09-10 00:13:37 -03:00
Jakub Chábek
009d4151b4
PsrLogMessageProcessor: add option to remove used context fields
2017-08-21 09:55:09 +02:00
mahone3297
889b25a72b
[feature] add host processor
2017-08-17 17:38:25 +08:00
Vincent Paré
207c91699e
Custom exception handler ( #500 )
...
Add custom exception handler to let the user change the default
behavior when Monolog raise an exception while logging a record.
2017-07-14 12:18:44 +02:00
Jordi Boggiano
69b21064ca
Fix level map override when using setExceptionHandler, fixes #1005
2017-06-19 03:09:14 +02:00
Jordi Boggiano
1417e2d183
Merge branch '1.x'
2017-06-19 02:16:33 +02:00
Jordi Boggiano
188a46836b
Fix DyanmoDbHandler test suite
2017-06-19 02:06:55 +02:00
Jordi Boggiano
2ea3d95ca2
Make sure this works on any hostname
2017-06-19 02:00:36 +02:00
Alex Rock Ancelet
d84af8db3c
Fix SwiftMailerHandler support for Swiftmailer 6.0+
2017-06-19 01:59:54 +02:00
Douglas Reith
765d225554
Support HeadlessChrome ( #966 )
...
* Support HeadlessChrome
2017-06-19 01:47:42 +02:00
Grégoire Pineau
5a041bab8f
Use callable typehint where possible + Removed dead code ( #996 )
...
* Removed dead code
* Use callable typehint where possible
* Removed PHP5.3 workaround
2017-06-19 01:41:02 +02:00
Remon van de Kamp
deb0ea4ee7
Use first day/first month for date calculations in RotatingFileHandlerTest ( #963 )
...
When making the calculations for the filename of the current month using
date('d') does not work because you may run into the situation where you run
the tests on a day in a month that does not exist in the previous month,
for example March 30th. As there is no February 30th, PHP will skip ahead
to March, and the filename for the "previous" month will incorrectly be
"2017-03" instead of the expected "2017-02". Using the first day of the
month instead of the current day of the month solves this problem.
For consistency we now also use the first month of each year for calculations
regarding years even if this is not necessary, it would break symmetry
if we don't, plus it makes it clear that the value is not relevant in the
calculation.
2017-06-19 01:33:57 +02:00
Elnur Abdurrakhimov
91a0f40927
LogstashFormatter: format context and extra fields as JSON objects ( #976 )
...
BC Break
* For Logstash, format context as object instead of individual fields
* For Logstash, format extra as object instead of individual fields
2017-06-19 01:30:53 +02:00
Jordi Boggiano
eba07cbad2
Avoid assertion-free test
2017-06-19 00:59:11 +02:00
Jordi Boggiano
ca4ffa68f6
Use namespaced phpunit classes, fixes #983
2017-06-19 00:48:54 +02:00
Jordi Boggiano
5e8bb7dfbe
Make sure this works on any hostname
2017-06-19 00:42:25 +02:00
Jordi Boggiano
86e4993283
Merge remote-tracking branch 'chrisforrence/tests-replace-deprecated-methods'
2017-06-19 00:37:19 +02:00
Jordi Boggiano
b76bc133db
Rename level_num to monolog_level, refs #960
2017-06-18 23:58:15 +02:00
Jordi Boggiano
56661027a7
Merge remote-tracking branch 'pupsschluepfer/master'
2017-06-18 23:49:52 +02:00
Jordi Boggiano
2551b8e3eb
Merge branch '1.x'
2017-06-18 23:46:31 +02:00
Benjamin Pentzold
1c48ebbf90
Merge remote-tracking branch 'upstream/master'
2017-05-22 12:00:08 +02:00
Enleur
faed450d52
Use GELF max length per field and make max length configurable in constructor
2017-04-07 13:49:54 +03:00
Sam-Burns
fa5d07f86f
Skipping DateTime microsecond test in PHP 7.1.3, because of https://bugs.php.net/bug.php?id=74258
2017-04-01 21:52:18 +01:00
Benjamin Pentzold
26c7de1e51
map loglevel (int-value) to log-message, as well
2017-03-28 16:04:50 +02:00
Chris Forrence
763c3afb32
Split expectException calls with two parameters into the proper two calls
2017-03-21 10:29:05 -04:00
Chris Forrence
85250d3c72
Replace deprecated setExpectedException methods with expectException
2017-03-21 10:14:16 -04:00
Jordi Boggiano
3266b6e257
Fix test moar
2017-03-20 11:21:06 +01:00
Jordi Boggiano
3c74c7a8d2
Fix tests
2017-03-20 11:12:52 +01:00
Jordi Boggiano
e4774920ff
Fix test class
2017-03-20 11:04:39 +01:00
Jordi Boggiano
7405bb5d67
CS fixes
2017-03-20 10:56:47 +01:00
Jordi Boggiano
fb751dff33
Remove return annotations
2017-03-20 10:18:43 +01:00
Jordi Boggiano
c192b1a373
Remove strict types from test suite
2017-03-20 10:15:03 +01:00
Jordi Boggiano
b9256e99b6
Merge branch '1.x'
2017-03-20 10:11:48 +01:00
Jordi Boggiano
3b1f98df2a
Fix 5.3 support
2017-03-20 10:07:14 +01:00
Erik Johansson
81e8bf6189
Add level parameter to payload when reporting Rollbar exceptions ( #852 )
2017-03-20 10:04:18 +01:00
Erik Johansson
b1b27d8a44
Add level parameter to payload when reporting Rollbar exceptions ( #852 )
2017-03-19 00:49:00 +01:00
Jordi Boggiano
772a470c1a
Merge branch '1.x'
2017-03-17 23:01:57 +01:00
Jordi Boggiano
24894709d1
Fix tests
2017-03-17 22:54:56 +01:00
ont
8c40211c3f
Fix array syntax for Travis CI
2017-03-15 12:00:44 +07:00
ont
aa6e88b6de
Complete rfc5424 header for SyslogUdpHandler
...
WARN: this commit adds backward incompatibility for the SyslogUdpHandler
constructor.
2017-03-15 00:57:06 +07:00
Piers Warmers
a0406bf8dd
Handle DateTime objects in formatted messages ( #940 )
...
* Handle DateTime objects in formatted meessages
* Use interface to catch both DateTime and DateTimeImmutable
* Maintain formatting standards.
* Visibility to private.
2017-03-14 08:07:57 +01:00
Jordi Boggiano
4f0c07af69
Merge branch '1.x'
2017-03-12 18:18:46 +01:00