1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-23 06:22:47 +01:00

390 Commits

Author SHA1 Message Date
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
Jordi Boggiano
9125a3f977 Set default timezone to avoid tripping up hhvm 2014-01-01 19:18:15 +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
e7750814b9 Merge pull request #232 from adlawson/fix-bootstrap
Small fix to test bootstrap
2013-09-17 06:00:00 -07:00
adlawson
5d36b5df7a Fix test bootstrap autoloader
The previous `require_once` statement returns `true` when it loads the
autoload file rather than an instance of `ClassLoader`. Changing the
statement to `require` returns the instance needed to add the Monolog
test directory.
2013-09-17 13:22:30 +01: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
Oliver Byford
c67470515d Fix a bug and a broken test.
Very embarrassing.
2013-09-04 13:40:43 +01:00
Oliver Byford
9f113ced3d Add a Logstash 'V1' Formatter
https://logstash.jira.com/browse/LOGSTASH-675
2013-09-04 11:59:46 +01: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