1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-24 15:02:28 +01:00

249 Commits

Author SHA1 Message Date
Hennadiy Verkh
8e7f51f27f Fixed passing Closure as parameter to minMaxHandler. 2014-03-17 16:06:57 +01:00
Hennadiy Verkh
447b7a549a Added MinMaxHandler with unit tests. 2014-03-17 15:06:35 +01:00
Jordi Boggiano
613997042c Refactor the browser console handler to keep more methods private, refs #303 2014-03-09 17:50:58 +01:00
Jordi Boggiano
aaeb238fe9 Merge remote-tracking branch 'rs/browser-console-handler' 2014-03-09 16:38:08 +01:00
Jordi Boggiano
e8604a4eaa Merge pull request #309 from apancutt/master
Added support for Loggly batch uploads
2014-02-25 23:34:04 +01:00
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
Gunnar Lium
2aa09265fc Strip inline line breaks from LineFormatter entries. 2014-02-14 14:35:44 +01:00
Gábor Tóth
3a811ecfda fix normalizing exception trace
The trace does not include the file / line at which the exception is thrown
2014-02-06 12:46:03 +01:00
Olivier Poitrey
e521588acb Use more "unique" markers format for styling 2014-01-31 00:36:40 -08:00
Adam Pancutt
a46413b15b Added 'timestamp' parameter to $record for indexing by Loggly 2014-01-22 14:31:31 +00:00
Adam Pancutt
70290e7087 Added batch mode tests to JsonFormatter 2014-01-21 11:47:47 +00:00
Adam Pancutt
95f0649b59 Replaced LogglyFormatter with option to change batch formatting in JsonFormatter 2014-01-21 11:39:58 +00:00
Adam Pancutt
e17aad1a99 Added support for Loggly batch uploads 2014-01-21 10:28:27 +00: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
Sergey Rabochiy
e012bf1b63 Fix boolean to string convertation. Fix double normalization.
Details bug:
$context = ["false", false]; // formatted as {"0":"false","1":"false"} when need {"0":"false","1":false}
2013-11-29 16:09:42 +07:00
Jordi Boggiano
aff8d92e29 Add caching, group exec calls in one, refs #274 2013-11-20 13:28:13 +01:00
otternq
9c57967700 adding a processor for basic git information
Adds the current Git Branch, and Git Commit key to the extra field
2013-11-16 17:40:16 -08:00
Jordi Boggiano
3987f88f2c Merge remote-tracking branch 'adlawson/dynamodb-handler'
Conflicts:
	README.mdown
	composer.json
2013-11-11 22:43:16 +01:00
Jordi Boggiano
eea4d089e7 Merge pull request #251 from skymeyer/elastic_search2
ElasticSearchHandler and ElasticaFormatter
2013-11-11 13:23:23 -08:00
Albert Casademont
899f7f52e5 Add millisecond precision in the LogstashFormatter 2013-11-11 15:50:38 +01:00
skymeyer
b1b210dba3 ElasticSearchHandler and ElasticaFormatter 2013-11-04 17:46:48 -08:00
adlawson
ac091bffcd Refactor scalar formatter
Removed some of its own logic in favor of extending NormalizerFormatter to
benefit from shared logic.
2013-11-03 20:03:45 +00: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
adlawson
c35d4016db Add scalar value formatter 2013-11-03 13:30:04 +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
Jordi Boggiano
0f3c054dff Fix tests for 5.3 2013-10-28 10:41:17 +01:00
Tarjei Huse
b78d997638 Add logging of exception line and file path to gelf message 2013-10-27 08:29:08 +01:00
pkraeutli
f1af2c484a HipChatHandler: combine batch records and send as one 2013-10-16 10:27:55 +02:00
Matthias Pigulla
540afb4621 Add unique_id to extra data only if present in the server environment 2013-10-10 10:04:29 +02:00
Matthias Pigulla
16f05a17e3 Update AbstractProcessingHandlerTest.php 2013-10-09 00:26:59 +02:00
Matthias Pigulla
7c0edceadc Update WebProcessorTest.php 2013-10-09 00:26:02 +02:00
Florian Pfitzer
8452da04da get record with highest log level in raven batch 2013-10-03 11:57:48 +02:00
Kris Wallsmith
0f5cdb285a added level to introspection processor 2013-09-26 12:52:23 -07:00
Kris Wallsmith
8af986b161 moved stubs up so line numbers don't change 2013-09-26 12:43:13 -07:00
Jordi Boggiano
99aad2e059 Formatting fixes 2013-09-16 11:56:03 +02:00
Oliver Byford
45ae71f9a6 Merge Logstach V1 logic into the main Logstash formatter, add a parameter to the constructor to specify version
Defaults to version '0'.
2013-09-16 10:19:26 +01:00