1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-22 04:43:12 +02:00

2648 Commits

Author SHA1 Message Date
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
0c45c9b3d4 Merge pull request #740 from macintoshplus/macintoshplus-fix-content-type
Fix content_type for AMQP Message
2016-03-10 12:37:00 +01:00
Jordi Boggiano
3d04bc8410 Merge branch '1.x' 2016-03-09 11:43:06 +00:00
Jordi Boggiano
81045d5974 Fix tests 2016-03-09 11:43:02 +00:00
Jordi Boggiano
680dcd7c3e Merge branch '1.x' 2016-03-09 11:29:24 +00:00
shiyangwu520
d04afcb5d0 Update RedisHandler.php
Should be the exec method, not the execute method
2016-03-09 11:29:06 +00:00
Jean-Baptiste Nahan
bbf96aae0f Update AmqpHandlerTest.php 2016-03-08 13:26:16 +01:00
Jean-Baptiste Nahan
f64f601676 Fix content_type property
The property "Content-type" does not exist. Use "content_type" instead.

Work for RabbitMQ.
2016-03-08 13:24:58 +01:00
Jordi Boggiano
0c87c8f5e7 Merge branch '1.x' 2016-03-07 12:30:07 +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
c910bad3c4 Merge branch '1.x' 2016-03-04 17:20:46 +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
f1091c3b97 CS fixes 2016-03-01 18:12:45 +00:00
Jordi Boggiano
3d87f3ce4f Merge branch '1.x' 2016-03-01 18:04:51 +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
3d30ba5ecc Add some return type hints and fix up HandlerWrapper 2016-03-01 17:35:54 +00:00
Jordi Boggiano
ba995ffd1e Merge branch '1.x' 2016-03-01 17:15:43 +00:00
Jordi Boggiano
fa96f6aa8f Add support for firefox in ChromePHPHandler 2016-03-01 17:13:48 +00:00
Jordi Boggiano
5d6c2048c8 Merge pull request #724 from billybanfield/ISSUE-695
Support ext-mongodb in MongoDBHandler
2016-03-01 17:04:31 +00:00
Daniel Gimenes
3521455e51 LineFormatter if configured to use short attachment 2016-03-01 17:02:07 +00:00
Jordi Boggiano
e1ee9d4989 Merge pull request #728 from danizord/hotfix/avoid-needless-formatter
Instantiate LineFormatter only when configured to use short attachment
2016-03-01 17:01:20 +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
b140e31884 Merge pull request #704 from dosten/unset-datetime-parameter
Unset the "datetime" parameter in LogglyFormatter
2016-03-01 15:33:13 +00:00
Will Banfield
64f0dd4996 Merge pull request #2 from ZergMark/patch-1
Update to use more generic interfaces
2016-02-24 15:08:13 -05: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
Mark Garrett
e9ea22ffeb Update to use more generic interfaces
PHP 7 can throw Errors and Exceptions, so use `Throwable` interface. `DateTimeInterface` allows for both `DateTime` and `DateTimeImmutable`.
2016-02-19 17:33:40 -06: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
Daniel Gimenes
e619223b4a LineFormatter if configured to use short attachment 2016-02-03 21:25:29 -02: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
Jeremy Mikola
f585e714fc Support ext-mongodb's UTCDateTime class in MongoDBFormatter
The legacy driver (i.e. ext-mongo) and MongoDate are not supported on PHP 7.
2016-01-21 16:22:47 -05:00
Jeremy Mikola
aa6ab660bd MongoDBHandler only supports ext-mongodb and mongodb/mongodb
The legacy driver (i.e. ext-mongo) is not supported on PHP 7, so there is no reason to leave behind its supporting code.
2016-01-21 15:58:45 -05:00
Will Banfield
d860b763cb Response to CR comments 2016-01-21 14:20:09 -05:00
Will Banfield
f6a9fdbb2c Add case for if manager is passed in 2016-01-21 14:19:35 -05:00
Will Banfield
ad37c8e663 Change 'save' to 'insert' in MongoDBHandler 2016-01-21 14:16:22 -05: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
kolja
fbe0bae8c9 Replaced indention tabs with 4 spaces in ProcessHandler and its test. 2016-01-15 20:39:29 +01:00
kolja
f13011e03e Removed obsolete var_export(). Made construction argument validation tests simpler and more readable. 2016-01-15 20:21:02 +01:00