Jannik Zschiesche
538349c4c4
Fixed HipChat tests
2015-11-18 10:25:09 +01:00
Jannik Zschiesche
fa38530fdc
Always append "from" field when sending to HipChat
2015-11-18 10:25:04 +01:00
Edvardas Daukšas
c5465b8e1a
Pass payload information to RollbarHandler on report_message.
2015-11-18 10:59:57 +02:00
Jannik Zschiesche
45d243f0ab
Always send the "from" name in the hipchat handler
2015-11-17 18:52:08 +01:00
fordnox
034e895a6d
Do not include message levels if it is already included in tag
2015-11-15 21:23:25 +02:00
fordnox
6abfc22762
Fix Fluentd array notation to support older PHP versions
2015-11-15 20:46:26 +02:00
fordnox
a5552dd34d
Add fluentd formatter.
2015-11-15 20:39:30 +02:00
Bryan Davis
6f9e221bd6
Attempt to recover from json encoding errors
...
Detect and attempt to recover from json_encode errors triggered by
strings containing invalid UTF-8 sequences. Recovery will only be
attempted when encoding strings or arrays. If recovery fails then
a RuntimeException will be thrown.
The recovery process will convert invalid UTF-8 codepoints as though the
input string was encoded using the ISO-8859-15 character encoding. This
conversion may result in incorrect string output if the original
encoding was not ISO-8859-15, but it will be a valid UTF-8 string.
Closes #545
2015-11-12 10:59:27 -07:00
Jordi Boggiano
f86e643a58
Merge pull request #677 from chriseskow/patch-1
...
Add PsrLogMessageProcessor to documentation
2015-11-11 15:24:54 +00:00
Elan Ruusamäe
2e03107b56
add tests for NativeMailerHandler
2015-11-09 19:26:58 +02:00
Jordi Boggiano
9ba1658bec
Merge pull request #680 from glensc/spelling
...
info is uncountable
2015-11-09 17:00:52 +00:00
Elan Ruusamäe
a5c56fdf1e
two more minor spelling fixes
2015-11-09 18:21:29 +02:00
Elan Ruusamäe
b72866e6dd
info is uncountable
2015-11-09 18:17:39 +02:00
Jordi Boggiano
432f44668e
Merge pull request #679 from glensc/patch-1
...
Update NativeMailerHandler.php
2015-11-09 14:53:39 +00:00
Elan Ruusamäe
745100db42
Update NativeMailerHandler.php
...
don't calculate parameters in a loop
2015-11-09 11:08:56 +02:00
Chris Eskow
95afd006a0
Add PsrLogMessageProcessor to documentation
2015-11-05 19:17:13 -05:00
Boris Momčilović
4764052a10
MongoDBHandler: write: call proper method if we've got instance of MongoDB\Collection
2015-11-03 20:47:58 +01:00
Boris Momčilović
e099fce150
composer.json: suggest mongodb/mongodb - MongoDB driver library
2015-11-03 20:36:15 +01:00
Boris Momčilović
435ddc2ec6
MongoDBHandler: support for MongoDB\Client
2015-11-03 20:34:57 +01:00
Jordi Boggiano
35932023f1
Merge pull request #674 from xapon/tostring-error
...
#673 Fix fatal error while normalizing with __toString method
2015-10-29 19:03:56 +00:00
Jordi Boggiano
6b42e7d241
Merge pull request #668 from silvadanilo/avoid_infinite_loop
...
Avoid infinite loops when no data is written on a socket for a time
2015-10-28 15:18:16 +00:00
Danilo Silva
988d595351
set to 10 seconds the default timeout during writing data on a socket, to aovid possible issue and with a very low risk to break backward compatibility @Seldaek
2015-10-28 16:13:45 +01:00
Danilo Silva
65cc3083b6
exit prematurely when data has been written to avoid unnecessary time check @Seldaek
2015-10-28 16:12:09 +01:00
Jordi Boggiano
7a45682eb2
Merge pull request #671 from mtopolski/master
...
added param in InstrospectionProcessor __construct to allow stacktrac…
2015-10-26 20:39:03 +00:00
mtopolski
1dbc4c3b51
changed variable to be more descriptive
2015-10-26 10:20:58 -07:00
Jordi Boggiano
bee4d493ff
Merge pull request #658 from bd808/issues/657
...
Optionally reduce timestamp resolution for performance
2015-10-26 09:46:15 +00:00
Bryan Davis
4e69837afc
Optionally reduce timestamp resolution for performance
...
Introduce a new `useMicrosecondTimestamps()` method to Logger that
allows runtime selection of whether or not to create microsecond
resolution timestamps for log records.
Generating microsecond resolution timestamps by calling
`microtime(true)`, formatting the result via `sprintf()` and then
parsing the resulting string via `DateTime::createFromFormat` can incur
a measurable runtime overhead vs simple usage of `new DateTime` to
capture a second resolution timestamp in systems which generate a large
number of log events.
The default behavior of generating high precision timestamps remains the
same, but may be changed in a future release. Users requiring high
precision timestamps are encouraged to explicitly call
`Monolog\Logger::useMicrosecondTimestamps(true)` in their setup code.
Closes #657
2015-10-25 15:13:43 -06:00
Anton Sergeyev
f19d9ce9a1
#673 Fix fatal error while normalizing with __toString method which may throw an exception
2015-10-25 22:44:00 +06:00
Jordi Boggiano
3d779cc34d
Allow extending Monolog\Logger::$logLevels
2015-10-24 13:11:41 +01:00
Jordi Boggiano
337a1d12f7
Merge pull request #669 from afoeder/patch-1
...
[TASK] CGL fix
2015-10-24 13:08:47 +01:00
mtopolski
2ae6b3338b
camelcase
2015-10-22 11:12:48 -07:00
mtopolski
c65aa23536
added param in InstrospectionProcessor __construct to allow stacktrace offset
2015-10-22 10:34:56 -07:00
Adrian Föder
4a1429e573
[TASK] CGL fix
...
This replaces a double-quote occurrence with
a single-quote one to comply with the CGL
as well as fixing an escaping mistake.
2015-10-19 12:25:21 +02:00
Danilo Silva
6f19ba38ad
added a test on writingTimeout setter and getter methods
2015-10-19 12:21:41 +02:00
Danilo Silva
5c129a7f7f
Avoid infinite loops when no data is written on a socket for a time greater than writingTimeout settings
2015-10-19 12:02:32 +02:00
Jordi Boggiano
fa74e171dc
Merge pull request #661 from pomaxa/isset
...
fix CubeHandler http connection and few small updates
2015-10-14 14:30:00 +01:00
Jordi Boggiano
d0f441e8b0
Merge pull request #654 from dracony/patch-1
...
Reduce memory consumption of the debug_backtrace call
2015-10-14 14:26:36 +01:00
Jordi Boggiano
80c4bfb9fd
Restore filtering behavior, refs #663
2015-10-14 14:12:50 +01:00
Jordi Boggiano
0a2e4237d3
Allow overriding of extra fields and configuring them fully in the constructor, fixes #663
2015-10-14 14:09:16 +01:00
Jordi Boggiano
bee7f0dc9c
Update changelog
1.17.2
2015-10-14 13:51:02 +01:00
Jordi Boggiano
ce293c745a
Do not assume we have a Logger in ErrorHandler, fixes #666
2015-10-14 13:47:31 +01:00
Jordi Boggiano
5405308eb1
Fix raven tests
2015-10-09 18:21:34 +01:00
pomaxa
fc077b8172
* fix var passed to curl::execute
...
* phpdoc
* remove defining null for class props.
2015-09-30 01:08:08 +03:00
pomaxa
5b05c66429
php doc for throw exception
2015-09-30 00:53:37 +03:00
pomaxa
108bcff409
simplify isset/unset
2015-09-30 00:35:33 +03:00
Jordi Boggiano
3d3feb1673
Merge pull request #656 from bd808/linter
...
Add linting to Travis tests
2015-09-29 10:34:13 +01:00
Bryan Davis
95d1370eb3
Add linting to Travis tests
...
Protect against syntax compatibility issues such as the non-5.3
compatible array syntax corrected in 5785a9a
by running a linter during
Travis CI testing for pull requests.
Closes #655
2015-09-27 13:24:10 -06:00
dracony
cf2faeb3b7
Reduce memory consumption of the debug_backtrace call
...
Since the code does not need neither the 'object' not 'args' keys from backtrace, we can save some memory by not requesting them.
I have a better idea planned too: first attempt getting the trace with limited back trace (limit to only about 5 results), and get the full one only if those were not enough
2015-09-26 21:53:29 +02:00
Jordi Boggiano
ec0b383ace
Merge pull request #647 from rap2hpoutre/patch-1
...
Use `text` and `title` fields for SlackHandler
2015-09-21 10:25:59 +01:00
Jordi Boggiano
7642aa2ebe
Merge pull request #648 from deguif/fix-undeclared-properties
...
Fixed undeclared properties
2015-09-17 16:29:05 +01:00