1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-17 18:36:32 +02:00
Commit Graph

1966 Commits

Author SHA1 Message Date
Jordi Boggiano
98b9a822d0 Merge pull request #785 from moderndeveloperllc/master
Change out Exception to Throwable
2016-05-20 19:14:58 +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
Jordi Boggiano
96a19ab308 Merge pull request #790 from fprochazka/1.x-php7-throwable
Catch Throwable
2016-05-20 19:02:26 +01:00
Jordi Boggiano
4dd4a29763 Merge pull request #792 from mlocati/patch-1
Exclude development stuff from repository autogenerated ZIP archives
2016-05-19 17:32:49 +01:00
Michele Locati
c4f01a9483 Exclude development stuff from repository autogenerated ZIP archives
People that install this library via composer don't need the test/sample/doc stuff, they just need the library itself.
This PR removes the development directories and files from the repository auto-generated ZIP archives.
Since these development files/directories will still be available via `git clone`, Travis is happy, developers are happy, and so are end-users (they won't have unneeded stuff in production machines).
2016-05-19 18:02:49 +02: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
Jordi Boggiano
85dcece943 Merge pull request #781 from hvt/patch-1
Tiny typo in TestHandler exception
2016-05-06 14:26:03 +02:00
Harm van Tilborg
3dd221b319 Tiny typo in TestHandler exception 2016-05-06 10:48:17 +02:00
Jordi Boggiano
6d9a76c164 Merge pull request #780 from WanWizard/patch-1
Added the Fuel PHP framework to the integrations list
2016-05-02 15:46:53 +01:00
Harro Verton
10fabc3041 Added the Fuel PHP framework to the integrations list 2016-05-02 16:39:02 +02:00
Jordi Boggiano
85620bbb99 Merge pull request #776 from jaschweder/patch-1
update README
2016-04-25 12:36:02 +01:00
Jonathan André Schweder
d686f25f6c update README
Change the calls from "addWarning" and "addError" to the new pattern "warning" and "error"
2016-04-25 08:23:57 -03: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
e7c326782f FingersCrossed: Adapt test for extraction of activate from handle() 2016-04-15 14:11:04 -04: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
Jordi Boggiano
a460c4d6b4 Merge pull request #770 from andrzejkupczyk/master
Fixed $handler property visibility
2016-04-15 17:51:51 +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
e0b521ba53 Add a test that verifies manual overriding of activation strategy works 2016-04-14 17:02:29 -04: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
5f56ed5212 Update changelog 1.19.0 2016-04-12 19:29:35 +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
Jordi Boggiano
6c21baf553 Remove 5.3.3 build as it lacks TLS 2016-04-10 12:27:44 +01:00
Jordi Boggiano
e4ec1e1848 Merge pull request #763 from xabbuh/gelf-format-large-data-5.3
fix Gelf message formatter tests
2016-04-10 11:56:51 +01:00
Jordi Boggiano
48e4f91310 Merge pull request #761 from xabbuh/patch-1
extract browser detection regex into a constant
2016-04-10 11:56:07 +01:00
Christian Flothmann
b437bb928a fix Gelf message formatter tests
Version 1.4.1 is the last version compatible with PHP < 5.3.9, but
filtered all message attributes with zero string length.
2016-04-05 15:51:16 +02: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
064b38c167 Update changelog 1.18.2 2016-04-02 14:12:58 +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
chalasr
15e21f38aa Change copyright's end date from 2015 to 2016 2016-04-01 11:36:28 +01:00