Jordi Boggiano
fac277b15a
Make separator optional
2016-07-29 04:07:25 +02:00
Jordi Boggiano
a6ecf50e74
Allow other separators for the date format in RotatingFileHandler
2016-07-29 04:04:32 +02:00
Jordi Boggiano
69fb2aa1c1
Fix GroupHandler::handleBatch when the handler has processors, fixes #814
2016-07-02 14:48:22 +01:00
Jordi Boggiano
39aeecefae
Add getter for the StreamHandler URL, fixes #797
2016-05-26 22:44:25 +01:00
Jordi Boggiano
5e6b844653
Only fail on really empty stream URL, fixes #796
2016-05-26 20:27:56 +01:00
Jordi Boggiano
ba9d57a96b
Add extra safety
2016-05-20 20:14:51 +01:00
Michael Moussa
09c4cca32b
Fix NewRelicHandler error when using LineFormatter
2016-05-20 19:31:17 +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
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
Nils Adermann
abb58081fe
Extract fingerscrossed activation into its own method callable from outside
2016-04-15 14:05:55 -04: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
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
Jordi Boggiano
a3f7c4a147
Add getStream to the StreamHandler
2016-04-12 19:29:25 +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
a7ade9d68f
Only close handles that have been opened by the StreamHandler, fixes #764
2016-04-10 13:01:10 +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
Remi Collet
8cfc819265
missing property
2016-03-25 17:25:05 +01: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
shiyangwu520
d04afcb5d0
Update RedisHandler.php
...
Should be the exec method, not the execute method
2016-03-09 11:29:06 +00:00
Jordi Boggiano
5085630fd6
Fix SlackHandler bug where slack drops some messages if the socket is closed too early, fixes #729
2016-03-07 12:29:57 +00:00
Jordi Boggiano
d68b63a0d0
Default to html when no content-type is set
2016-03-04 17:19:59 +00:00
John Hunt
88e483a815
Fixed small syntax bug with BrowserConsoleHandler preventing console output
...
Replaced commas in send() method when calling generateScript() - this was
preventing any javascript from being output
2016-03-04 17:08:06 +00:00
Jordi Boggiano
127d7720c9
CS fixes
2016-03-01 18:00:33 +00:00
Jordi Boggiano
fa96f6aa8f
Add support for firefox in ChromePHPHandler
2016-03-01 17:13:48 +00:00
Daniel Gimenes
3521455e51
LineFormatter if configured to use short attachment
2016-03-01 17:02:07 +00:00
Jordi Boggiano
bf61d9ff3f
Allow using LOG_LOCAL* on windows, fixes #713
2016-03-01 16:46:08 +00:00
Jordi Boggiano
1048aa4a59
Allow BrowserConsoleHandler to be overridden for better integration in frameworks
2016-03-01 16:39:55 +00:00
Alexey Karapetov
c688ff17eb
HandlerWrapper
2016-03-01 15:59:22 +00:00
Ronald Drenth
0d2bef0579
Add handleBatch implementation for PhpAmqpLib
2016-03-01 15:57:23 +00:00
Jordi Boggiano
973d3ca7ae
Fix race condition in rotating file handler, fixes #709
2016-03-01 15:44:46 +00:00
Grégoire Paris
f1a59c5e0f
add release number to every log
...
This adds an internal release number to the raven handler. The release
number is added to what is sent to sentry unless something already is
present because a release number was sent via "context" or "extra".
2016-01-23 23:00:37 +01:00
Joris Berthelot
bf82600f0c
Allow GroupHandler to set a formatter to all nested handlers
2016-01-21 12:50:15 +01:00
Dmitriy Garanzha
e2a77060da
Raven client fingerprint support
2016-01-20 11:39:44 +02:00
Jordi Boggiano
3a41aa08c4
Docblock fixes
2015-12-18 17:48:21 +00:00
Jordi Boggiano
bc2bdedcc2
Merge pull request #676 from kornrunner/master
...
mongodb/mongodb support
2015-11-18 17:18:56 +00:00
Jordi Boggiano
b3f1d9a792
Add note about payload context var, refs #687
2015-11-18 17:17:24 +00:00
Jordi Boggiano
5ee8529a7a
Merge pull request #687 from edvardasd/master
...
Pass payload information to RollbarHandler on report_message.
2015-11-18 17:14:45 +00:00
Jordi Boggiano
64f6c3d916
Adjust docblocks, refs #686 #685
2015-11-18 17:14:09 +00:00
Jordi Boggiano
0880801b4a
Merge pull request #686 from apfelbox/hipchat-from
...
[HipChatHandler] Always send the "from" name
2015-11-18 17:12:52 +00:00
Jordi Boggiano
c889fb2648
CS fixes & upgrading cs fixer config
2015-11-18 17:09:46 +00:00
Jannik Zschiesche
fa38530fdc
Always append "from" field when sending to HipChat
2015-11-18 10:25:04 +01:00
Edvardas Daukšas
c5465b8e1a
Pass payload information to RollbarHandler on report_message.
2015-11-18 10:59:57 +02:00
Jannik Zschiesche
45d243f0ab
Always send the "from" name in the hipchat handler
2015-11-17 18:52:08 +01:00