1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-23 09:36:11 +02:00
Commit Graph

1143 Commits

Author SHA1 Message Date
Jordi Boggiano
2a569ff961 Disable microsecond precision by default 2016-05-20 20:25:27 +01:00
Jordi Boggiano
cb479a9b18 Remove HipChat API v1 support 2016-05-20 20:24:02 +01:00
Jordi Boggiano
ba9d57a96b Add extra safety 2016-05-20 20:14:51 +01:00
Jordi Boggiano
c04d39d10b Make MongoDBFormatter default formatter for the MongoDBHandler in 2.0 2016-05-20 20:12:17 +01:00
Jordi Boggiano
d7b415c2c8 Make TestCase class available to dependents to help with testing 2016-05-20 20:09:02 +01:00
Jordi Boggiano
1fb211e43f Remove duplicate catch statements 2016-05-20 20:01:29 +01:00
Jordi Boggiano
e46fecde34 Remove support for legacy Gelf lib 2016-05-20 19:55:04 +01:00
Jordi Boggiano
3e3f44aee4 Remove Logstash V0 support 2016-05-20 19:50:12 +01:00
Jordi Boggiano
a00acb6022 Clarify var purpose 2016-05-20 19:47:45 +01:00
Jordi Boggiano
f19fffe870 Merge remote-tracking branch 'rpkamp/master' 2016-05-20 19:43:01 +01:00
Jordi Boggiano
7a65105505 Merge remote-tracking branch 'fprochazka/php7-throwable' 2016-05-20 19:40:51 +01:00
Jordi Boggiano
3eee2a006b Merge branch '1.x' 2016-05-20 19:40:36 +01:00
Jordi Boggiano
5ecfbc25de Fix issue in handling of broken iterators when serializing stack frames, fixes #772 2016-05-20 19:39:35 +01:00
Michael Moussa
09c4cca32b Fix NewRelicHandler error when using LineFormatter 2016-05-20 19:31:17 +01:00
Leny BERNARD
3101f1c09a check if val is null to avoid to set the string "null" instead of null 2016-05-20 19:19:52 +01:00
Remon van de Kamp
83a24937ba Add deprecation errors on RotatingFileHandler (#774)
* Add deprecation errors when attempting to set dateFormats of fileFormats that
break the possibility of rotating easily in RotatingFileHandler. Version 2.x
of Monolog will throw `\InvalidArgumentException`s in these cases.
2016-05-20 19:13:19 +01:00
Filip Procházka
e2c575b505 Catch Throwable 2016-05-13 21:43:07 +02:00
Filip Procházka
06efba7062 Catch Throwable 2016-05-13 11:21:34 +02:00
Mark Garrett
133a8df5f7 Typo 2016-05-11 11:59:26 -05:00
Mark Garrett
4e4c6d89ac Change out to Throwable 2016-05-11 11:54:35 -05:00
Harm van Tilborg
3dd221b319 Tiny typo in TestHandler exception 2016-05-06 10:48:17 +02:00
Jordi Boggiano
b23ddb363f Merge pull request #769 from naderman/t/fingers-crossed-override-activation
Provide means to manually activate a FingersCrossedHandler
2016-04-20 20:08:06 +01:00
Nils Adermann
0fc6734c6f FingersCrossedHandler: Clean up code 2016-04-20 15:00:33 -04:00
Remon van de Kamp
1841e2ba88 Lock down RotateFileHandler to prevent errors with rotation
- Require the dateFormat to be one of three presets ('Y-m-d', 'Y-m' or 'Y') to
  ensure that dates can be sorted lexographically
- Require the filenameFormat to contain the (sub)string `{date}` so we will
  actually create new files instead of the same file over and over again.
2016-04-18 21:51:37 +02:00
Nils Adermann
abb58081fe Extract fingerscrossed activation into its own method callable from outside 2016-04-15 14:05:55 -04:00
Jordi Boggiano
3ce314cc92 Merge pull request #706 from acrobat/amqp_handler_fix
Removed substr call in amqp routing key generator
2016-04-15 18:05:13 +01:00
Andrzej Kupczyk
04dedae4a8 Fixed $handler property visibility
According to the given example, $handler property should not be private.
2016-04-15 17:52:32 +01:00
Andrzej Kupczyk
b18092d4a2 Fixed $handler property visibility
According to the given example, $handler property should not be private.
2016-04-15 18:45:46 +02:00
Nils Adermann
c677398c76 Provide means to manually activate a FingersCrossedHandler
This is useful if you have a FingersCrossedHandler set up and some where
in your application are interested in all output regardless of whether
the threshold is actually reached. For example to temporarily debug some
problem. One can replace the handler in that spot, but this is
signifcantly easier to use.
2016-04-14 16:56:59 -04:00
Jeroen Thora
dbccc56a44 Removed substr call in amqp routing key generator 2016-04-14 12:54:01 +02:00
Jordi Boggiano
144b66be83 Merge branch '1.x' 2016-04-12 19:56:51 +01:00
Jordi Boggiano
a3f7c4a147 Add getStream to the StreamHandler 2016-04-12 19:29:25 +01:00
Jordi Boggiano
fbddc30416 Merge branch '1.x' 2016-04-12 19:21:19 +01:00
Jordi Boggiano
f56f2969f7 Fix handling of messages with new lines 2016-04-12 19:17:42 +01:00
Jordi Boggiano
0e3a4bf48b Fix bug when messages contain colons 2016-04-12 19:02:03 +01:00
Jordi Boggiano
d18eb57ee9 Make sure levels are converted properly 2016-04-12 18:43:49 +01:00
Jordi Boggiano
a754edc64c Add ability to use formatter in email subject lines 2016-04-12 18:31:25 +01:00
Jordi Boggiano
1fa91efc3b Add DeduplicationHandler to avoid spamming the same log records over and over 2016-04-12 18:31:22 +01:00
Jordi Boggiano
b52d008491 Merge branch '1.x' 2016-04-10 13:01:49 +01:00
Jordi Boggiano
a7ade9d68f Only close handles that have been opened by the StreamHandler, fixes #764 2016-04-10 13:01:10 +01:00
Jordi Boggiano
f6afa8624c Merge branch '1.x' 2016-04-10 12:50:34 +01:00
Jordi Boggiano
ccdc8b530c Truncate single messages if they go over the hipchat limit, fixes #629 2016-04-10 12:31:41 +01:00
Christian Flothmann
f72b5036f8 extract browser detection regex into a constant 2016-04-05 12:19:39 +02:00
Jordi Boggiano
ef1568b89e Merge branch '1.x' 2016-04-02 14:13:15 +01:00
Jordi Boggiano
6bc1a444db Truncate messages if they reach the max length of GELF messages, fixes #751 2016-04-02 13:53:47 +01:00
Jordi Boggiano
cf391e5a40 Merge branch '1.x' 2016-04-01 11:37:15 +01:00
Remi Collet
8cfc819265 missing property 2016-03-25 17:25:05 +01:00
Jordi Boggiano
f29dffeb16 Merge branch '1.x' 2016-03-13 16:20:29 +00:00
Malte Blättermann
9ef18f111f Added millis 2016-03-13 16:18:47 +00:00
Jean-Baptiste Nahan
f4b89ac754 Fix content_type property
The property "Content-type" does not exist. Use "content_type" instead.

Work for RabbitMQ.
2016-03-13 16:05:20 +00:00