1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-21 00:26:10 +02:00
Commit Graph

320 Commits

Author SHA1 Message Date
Jordi Boggiano
6b81ac8153 CS fixes, refs #326 2014-02-23 16:06:45 +01:00
Benjamin Zikarsky
b56ed7b0fd Merge remote-tracking branch 'official/master' into gelf-php-compat
Conflicts:
	composer.json
2014-02-22 16:13:58 +01:00
Benjamin Zikarsky
f0ed3d8054 Allow for both mlehner/gelf-php and graylog2/gelf-php usage 2014-02-22 16:11:33 +01:00
Olivier Poitrey
e521588acb Use more "unique" markers format for styling 2014-01-31 00:36:40 -08:00
Olivier Poitrey
65caca2b78 Some consmetic changes 2014-01-17 11:30:56 -08:00
Olivier Poitrey
577b7fe96c Add BrowserConsoleHandler
BrowserConsoleHandler is an handler sending logs to browser's javascript console
with no browser extension required
2014-01-16 18:15:41 -08:00
Jordi Boggiano
b17c7a41d1 Attempt hhvm build fix 2014-01-09 23:27:36 +01:00
Benjamin Zikarsky
c8289fd654 Updated GelfHandler/GelfFormatter
Changes monolog to use the updated official graylog2/gelf-php
2013-12-28 18:57:39 +01:00
Jordi Boggiano
e92cb54c24 Do away with this horrible mock class 2013-12-26 14:24:17 +01:00
Jordi Boggiano
b265bbd70d Fix signature 2013-12-26 14:11:00 +01:00
Jordi Boggiano
ad77932a7b Update amqp test mock 2013-12-26 12:16:07 +01:00
Jordi Boggiano
caee29ac20 Merge pull request #288 from bzikarsky/mongo-test-fix
Fixes MongoDBHandler unit-test
2013-12-26 02:54:08 -08:00
Jordi Boggiano
d4cb2c49f4 Fix test on windows 2013-12-26 11:50:15 +01:00
Milos Levacic
67a908796b Add name length check to the HipChatHandler
As explained in its docblock, the validation function will fall back to
a simple strlen check if mb_strlen is not available. However, that very
specific case is not one that was deemed important to support, as anyone
using UTF-8 in their code, without having mbstring available will
probably have bigger problems to worry about.

Fixes #289
2013-12-24 21:15:02 +01:00
Benjamin Zikarsky
a35326e406 Fixes MongoDBHandler unit-test
On systems with mongo-ext but no MongoDB on localhost the unit-
tests are failing. This commit disables the constructor execution
for the Mongo-mock, so no connection-error is generated.
2013-12-18 21:27:50 +01:00
Jordi Boggiano
3987f88f2c Merge remote-tracking branch 'adlawson/dynamodb-handler'
Conflicts:
	README.mdown
	composer.json
2013-11-11 22:43:16 +01:00
skymeyer
b1b210dba3 ElasticSearchHandler and ElasticaFormatter 2013-11-04 17:46:48 -08:00
adlawson
471bc7fa91 Add AWS DynamoDB handler
This also adds the `aws/aws-sdk-php` dev dependency
2013-11-03 14:37:18 +00:00
Jordi Boggiano
b8967466bc Combine common syslog handlers functionality, refs #258 2013-10-31 22:17:55 +01:00
Jesper Skovgaard Nielsen
16ca77c858 Removed more ['foo' => 'bar'] array notation 2013-10-31 11:06:45 +01:00
Jesper Skovgaard Nielsen
e53d6040c0 Added SyslogUdpHandler.
This handler lets you log to a remote syslogd server via UPD. The
use-case here is having many webservers, and the need to gather log-
files on a centralized server.
2013-10-31 09:41:00 +01:00
pkraeutli
f1af2c484a HipChatHandler: combine batch records and send as one 2013-10-16 10:27:55 +02:00
Matthias Pigulla
16f05a17e3 Update AbstractProcessingHandlerTest.php 2013-10-09 00:26:59 +02:00
Florian Pfitzer
8452da04da get record with highest log level in raven batch 2013-10-03 11:57:48 +02:00
odino
abaa54d8fe removed useless test 2013-08-26 13:40:44 +04:00
odino
165778963e the appname can now be set from the handler's constructor 2013-08-26 13:20:13 +04:00
odino
db3df1a1fa NewRelic handler: added the app name 2013-08-26 12:04:22 +04:00
Jordi Boggiano
207039c326 Fix tests 2013-08-09 01:33:47 +02:00
Henrique Moody
fd8b621a93 Refactored ErrorLogHandler to use constantes for types
- Create tests for ErrorLogHandler;
- Remove types 1, 2 and 3 in favor of specific handlers.
2013-08-01 14:05:08 -03:00
Jordi Boggiano
4277c5db4a CS fixes 2013-07-29 00:08:51 +02:00
Jordi Boggiano
e2e041eded Store user in a temporary property instead of hacking it into the record 2013-07-29 00:08:01 +02:00
Jordi Boggiano
52f478b289 Fix tests 2013-07-28 23:19:20 +02:00
Jordi Boggiano
043aabcf2f Merge remote-tracking branch 'odino/master' 2013-07-28 23:01:16 +02:00
Jordi Boggiano
a00f102cda Rename logFormatter to batchFormatter, refs #203 2013-07-28 19:01:33 +02:00
Jordi Boggiano
ec3f56a830 Merge remote-tracking branch 'fabpot/raven-improvements' 2013-07-28 18:48:43 +02:00
odino
b422bb1c5b refactored the implementation of the NR handler and its test:
* the test now checks that if the extension is not loaded, an exception is thrown
* the test now mocks the new relic native functions
* moved some parameters as constants in the handler class
2013-07-24 10:14:35 +04:00
odino
394b0bf872 removed the logic for the fallback handler, its out of place, adapted the "test" 2013-07-24 09:46:20 +04:00
Alessandro Nadalin
b439707cbb Added an handler for NewRelic:
* implemented a test which verifies that the fallback handler handles records when the NewRelic PHP extension is not installes
* implemented the actual handler
2013-07-24 09:46:20 +04:00
Jordi Boggiano
050bb52fd8 Fix a few details and add docs to the ChannelLevelActivationStrategy, refs #186 2013-07-17 18:11:27 +02:00
Jordi Boggiano
e9df30c7f5 Merge remote-tracking branch 'netmikey/master' 2013-07-17 18:00:31 +02:00
Artur Moczulski
fe13e80787 added support for Pushover API priority brought up by SteveEdson in issue #187; the priority levels can be adjusted either through the handler's constructor or setters 2013-07-08 00:35:22 -07:00
Fabien Potencier
29ae147226 Improved the Raven handler when using a Buffer handler 2013-06-15 15:22:51 +02:00
David Windell
94e31e37b8 API match 2013-05-28 11:50:42 +02:00
Rafael Dohms
0f13a1a6bb HipChat Handler
Adds a handler that is capable of sending notices into HipChat, the team communication system provided by Atlassian.
This is based on the PushoverHandler and built on top of the socketHandler.

The needed configuration is described in the docblock of the HipChatHandler file.
2013-05-08 17:37:53 +02:00
Mike Meessen
690bbdb2ff Refactored / Renamed the CategoryErrorLevelActivationStrategy to the
more appropriate ChannelLevelActivationStrategy.
2013-04-30 10:57:25 +02:00
Mike Meessen
c72aff2238 Added CategoryErrorLevelActivationStrategy, which enables setting the
Error Level threshold per log channel.
2013-04-29 14:52:29 +02:00
Christophe Coevoet
d885932183 Updated the ChromePHPHandler for the new version of the extension 2013-04-23 14:22:10 +02:00
Jordi Boggiano
41d514114c Output message to the user when chrome logs have been truncated, refs #172 2013-04-23 12:05:59 +02:00
Jordi Boggiano
6275edbe75 Stop sending logs when the chrome header size limit has been reached, fixes #172 2013-04-23 11:47:22 +02:00
Jordi Boggiano
3f8c37b23c CS fixer 2013-03-28 11:41:04 +01:00