Jordi Boggiano
3175130061
Merge branch '1.x'
2018-06-17 18:04:17 +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
Artur Moczulski
c2d1d22b71
Sync RollbarHandler with the latest changes rollbar/rollbar package ( #1042 )
...
* Sync RollbarHandler and RollbarHandlerTest with the latest changes in the rollbar/rollbar package (1.0+)
2018-06-17 16:16:39 +02:00
Sergey Zaika
c1b610a676
fix InsightOpsHandlerTest
2018-06-17 15:44:17 +02:00
Pascal
5bb1c5fb4f
Check if monolog runs in web context ( #1024 )
...
* Check if monolog runs in web context
2018-06-11 17:36:34 +02:00
Jordi Boggiano
ff5ae5cead
Merge branch '1.x'
2018-06-11 17:35:32 +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
d353a88337
Merge pull request #1046 from grongor/psr-processor-add-option
...
PsrLogMessageProcessor: add option to remove used context fields
2018-06-09 17:24:13 +02:00
Jordi Boggiano
2b688c4d1d
Merge branch '1.x'
2018-06-09 17:23:36 +02:00
Jordi Boggiano
c7b12a7497
Json formatter should always format context/extra as an object, fixes #1028
2018-06-09 17:02:23 +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
800fe2cc1a
Migrate maxNormalizeDepth/maxNormalizeItemCount props and setters to NormalizerFormatter
2018-06-08 23:09:04 +02:00
Jordi Boggiano
518288c5c5
Merge branch '1.x'
2018-06-08 22:32:06 +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
12c9f58de2
Merge branch '1.x'
2018-06-08 21:08:04 +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
Jordi Boggiano
101daad3ce
Merge pull request #1133 from DQNEO/compat-phpunit6
...
Compatible to phpunit6
2018-06-08 16:44:50 +02:00
Tom Rochette
68cf3c69d1
Allow JsonFormatter maximum normalized depth and maximum number of items per level to be configured in the constructor.
2018-06-07 14:15:50 -04:00
Jordi Boggiano
cb7bd1d7f8
Merge pull request #1151 from kopiro/master
...
Typo on method name
2018-06-07 19:12:01 +02:00
Jordi Boggiano
9a2c747a0a
Merge branch '1.x'
2018-06-07 18:30:00 +02:00
George Mponos
68e39bd84f
Add a record with an object as context
2018-06-07 18:28:45 +02:00
Jordi Boggiano
3319969e80
Merge branch '1.x'
2018-06-07 17:49:12 +02:00
tnucera
678693e5ef
Add context to fluentd formatter
2018-06-07 17:47:43 +02:00
Flavio Maria De Stefano
cf0ac7e33d
Typo on method name
2018-05-18 12:13:16 +02:00
Avtandil Kikabidze
aad9de4d0d
Fix unhandled throwable
2018-04-07 04:38:38 +04:00
Avtandil Kikabidze
1d006d80cb
Add official ElasticSearch handler
2018-04-07 04:11:26 +04:00
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