1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-31 16:51:46 +02:00

1520 Commits

Author SHA1 Message Date
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
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
chalasr
15e21f38aa Change copyright's end date from 2015 to 2016 2016-04-01 11:36:28 +01:00
Grégoire Paris
76247469e7 move from abandoned package to maintained package 2016-04-01 11:36:17 +01:00
Grégoire Paris
1b6f1f4ad8 use maintained package reference in suggestion
videlalvaro/php-amqplib has been abandoned in favor of
php-amqplib/php-amqplib
2016-04-01 11:36:12 +01:00
Jordi Boggiano
dec4e574c2 Merge pull request #758 from stof/patch-2
Only load mongo.so for PHP 5.x on Travis
2016-03-26 09:27:31 +01:00
Jordi Boggiano
96034ac8af Merge pull request #757 from remicollet/issue-ver
missing property
2016-03-25 21:51:34 +01:00
Christophe Coevoet
f614d44667 Only load mongo.so for PHP 5.x on Travis
ext-mongo does not exist for PHP 7 either, not only for HHVM.
2016-03-25 18:57:25 +01:00
Remi Collet
8cfc819265 missing property 2016-03-25 17:25:05 +01:00
Jordi Boggiano
a9ccae25cb Fix elastica formatter test, refs #742 2016-03-13 16:20:24 +00:00
Malte Blättermann
9ef18f111f Added millis 2016-03-13 16:18:47 +00:00
Jordi Boggiano
a5f2734e8c Update changelog 1.18.1 2016-03-13 16:08:35 +00:00
Jean-Baptiste Nahan
50241e6ced Update AmqpHandlerTest.php 2016-03-13 16:05:23 +00: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
Jordi Boggiano
81045d5974 Fix tests 2016-03-09 11:43:02 +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
e19b764b5c Update changelog 1.18.0 2016-03-01 18:00:40 +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
25131bb5f6 Add context.* replacement in line formatter, fixes #717 2016-03-01 16:58:06 +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
Jordi Boggiano
481fc4cfa1 PHP7 compat for exception classes, fixes #718 2016-03-01 16:20:06 +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
dad186036c Merge pull request #711 from phansys/json_formatter_normalizer
Add ability to include exception's stack traces in `Monolog\Formatter\JsonFormatter`
2016-03-01 15:48:15 +00:00
Jordi Boggiano
973d3ca7ae Fix race condition in rotating file handler, fixes #709 2016-03-01 15:44:46 +00:00
Jordi Boggiano
6079ae8bfb Merge remote-tracking branch 'origin/1.0' into 1.x 2016-03-01 15:40:28 +00:00
Jordi Boggiano
fb314292ab Merge pull request #727 from greg0ire/set_release_for_all_logs
add release number to every log
2016-02-24 18:37:37 +00:00
Jordi Boggiano
cb2778ae77 Add ->withName to clone a handler and get a new name, fixes #730 2016-02-13 16:47:31 +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
Jordi Boggiano
79817af0de Merge pull request #725 from eexit/1.x
Allow GroupHandler to set a formatter to all nested handlers
2016-01-22 18:13:50 +00:00
Joris Berthelot
bf82600f0c Allow GroupHandler to set a formatter to all nested handlers 2016-01-21 12:50:15 +01:00
Jordi Boggiano
6a35f7387b Merge pull request #723 from damour/raven_fingerprint
Raven client fingerprint support
2016-01-20 10:14:19 +00:00
Dmitriy Garanzha
e2a77060da Raven client fingerprint support 2016-01-20 11:39:44 +02:00
Javier Spagnoletti
e8e1d9efa3 Add ability to include exception's stack traces in Monolog\Formatter\JsonFormatter
| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |
2015-12-31 11:24:28 -03:00
Jordi Boggiano
592af02d0c Clean up alias 2015-12-18 18:24:15 +00:00
Jordi Boggiano
baca9641ba Update branch alias in 1.0 2015-12-18 18:18:28 +00:00
Jordi Boggiano
3a41aa08c4 Docblock fixes 2015-12-18 17:48:21 +00:00
Jordi Boggiano
205f528f5b Merge pull request #701 from robbieaverill/feature/dont-repeat-yourself
DRY: Use constants for level codes instead of re-defining
2015-12-16 18:41:23 +00:00
Robbie Averill
ea2bef43a9 DRY: Use constants for level codes instead of re-defining 2015-12-16 09:34:12 +13:00
Jordi Boggiano
cab3ff71ff Add regression test for #691 and optimize implementation using a single pass loop over the handlers, refs #692 2015-11-26 23:48:42 +00:00
Jordi Boggiano
d4ae6ccffd Merge remote-tracking branch 'mttjohnson/master' 2015-11-26 23:39:59 +00:00
Matt Johnson
73876ace65 Changed iterating over the $handlers array to allow for correct sequential processing regardless of array containing indexed numerical keys, or associative string keys in the array.
It iterates over the entire array until it finds the $handlerKey that was identified earlier using isHandling(). Once the starting position is found it will execute handle() on each handler unless a handler returns true indicating the handler completed the processing of the record, bubbling to the next handler should not occur, and the loop breaks.

This fixes an issue where an associative array of handlers is passed into the Logger constructor when instantiated.
magento/magento2#2529
Seldaek/monolog#691
2015-11-26 02:33:02 -06:00