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

171 Commits

Author SHA1 Message Date
Jordi Boggiano
3f8c37b23c CS fixer 2013-03-28 11:41:04 +01:00
Jordi Boggiano
dd0b216e02 Fix tests 2013-03-18 19:06:02 +01:00
Jordi Boggiano
8fcb833b5c Fix tests 2013-03-18 18:56:14 +01:00
Jordi Boggiano
5feb21ae1a Fix Buffer, Group and FingersCrossed handlers to make use of their processors, fixes #170 2013-03-17 19:36:02 +01:00
Jordi Boggiano
eaf2b07120 Serialize exceptions in a minimalistic way in the LineFormatter 2013-03-17 19:26:08 +01:00
Simon Mönch
9cf31da70d Better naming 2013-02-26 10:19:42 +01:00
Simon Mönch
bad76ce2a6 Added a request token processor to detect log messages per request 2013-02-25 15:42:26 +01:00
Jordi Boggiano
047488810f Simplify code and cache the getmypid call, refs #167 2013-02-21 10:08:33 +01:00
anho
ff634744fe added ProcessIdProcessor to inject pid to records #165 2013-02-20 21:13:00 +01:00
Jordi Boggiano
9f515d47ce Add possibility to pass handlers/processors to Logger::__construct, fixes #157 2013-02-13 19:06:07 +01:00
Jordi Boggiano
ff45cf4afa Merge remote-tracking branch 'kitchen/logstash-redis'
Conflicts:
	README.mdown
2013-02-13 18:23:43 +01:00
Jordi Boggiano
52073f4589 Merge remote-tracking branch 'cbergau/master' 2013-02-13 18:11:25 +01:00
Markus Staab
6c888417b6 sanitize http headers in NativeMailerHandler to prevent injections. added tests. 2013-02-13 16:19:47 +01:00
Jeremy Kitchen
a463cdcf91 unit test for RedisHandler and README.md update
* updated README.md to inform users of RedisHandler
* added unit test for RedisHandler
2013-02-12 17:47:43 -08:00
ChristianB
f0ba64ad4b Exception will be thrown if ZendMonitorHandler is instantiated without having Zend Server installed. 2013-01-31 12:16:16 +01:00
ChristianB
83b84ff818 Pass $record['formatted'] as the user parameter for zend monitor. Refactored test. 2013-01-31 10:39:11 +01:00
ChristianB
5a2a9129d4 Added test for getDefaultFormatter 2013-01-31 07:24:14 +01:00
ChristianB
a2162c1787 Override getDefaultFormatter instead of creating a formatter with 'new' in method 'write'. Using levelMap again. Refactored test. 2013-01-31 07:22:52 +01:00
ChristianB
b4b2d91c67 Refactored writeZendMonitorCustomEvent signature to provide better testability 2013-01-30 21:42:59 +01:00
ChristianB
4eb6011dc1 Use getRecord to get a record in unit test 2013-01-30 20:17:14 +01:00
ChristianB
32145bc49e Removed testing a mock instead of the real handler 2013-01-30 19:37:42 +01:00
ChristianB
a82bac49f2 Added ZendMonitor Handler 2013-01-30 19:26:25 +01:00
Jordi Boggiano
f5cb46eefc Fix test suite 2013-01-22 11:05:37 +01:00
Jordi Boggiano
47eb599b4a Update tests and changelog 2013-01-11 11:23:20 +01:00
Jordi Boggiano
fb59ffe709 Merge remote-tracking branch 'msabramo/raven'
Conflicts:
	README.mdown
	composer.json
2013-01-07 20:33:40 +01:00
Jordi Boggiano
04f41cd661 CS fixes 2013-01-06 21:43:53 +01:00
Jordi Boggiano
a35401e8ce Merge remote-tracking branch 'Sgoettschkes/PushoverHandler' 2013-01-06 21:12:35 +01:00
Jordi Boggiano
e569dfc27a Merge remote-tracking branch 'Baachi/couchdb' 2013-01-06 20:47:53 +01:00
Jordi Boggiano
63e3bfdf7e Resolve json encoding errors issue globally, refs #137 2013-01-06 20:14:14 +01:00
Jordi Boggiano
271c396964 Merge remote-tracking branch 'benja-M-1/patch-wildfire-formatter' 2013-01-06 19:26:51 +01:00
Jordi Boggiano
7913cd2c4d Add psr/log compatibility 2013-01-04 17:20:27 +01:00
Benjamin Grandfond
0945fcdccb Catch json_encode recursion error 2012-12-21 23:23:38 +01:00
Jordi Boggiano
0df12342ef Fix tests 2012-12-14 12:27:44 +01:00
Jordi Boggiano
8dd213fcf1 Merge remote-tracking branch 'origin/master' 2012-12-14 12:21:55 +01:00
Jordi Boggiano
9c8db38385 CS fixes 2012-12-14 12:15:30 +01:00
Jordi Boggiano
6588c1633e Merge remote-tracking branch 'timmow/logstash-formatter' 2012-12-14 12:07:25 +01:00
Jeremy Mikola
6d3bca8543 Support MongoClient in MongoDBHandler 2012-12-13 15:17:20 -05:00
Tim Mower
798a039040 Add applicationName option which gets set to the logstash @type field 2012-12-10 12:35:34 +00:00
Tim Mower
6aaf70d363 Rename classnames to LogstashFormatter as suggested by @stof 2012-12-10 12:17:05 +00:00
Tim Mower
32e6bff219 Move source files in preparation for rename to LogstashFormatter 2012-12-10 12:16:07 +00:00
Markus Bachmann
6fedfa74ce Merge remote-tracking branch 'upstream/master' into couchdb 2012-11-21 19:11:25 +01:00
Jordi Boggiano
b23cfd3d6c Throw an exception on invalid level name 2012-11-14 16:46:10 +01:00
Jordi Boggiano
bcb51e0140 Add $flushOnOverflow and refactor BufferHandler's internals, fixes #120, fixes #104 2012-11-11 18:03:04 +01:00
Tim Mower
8373c8d57a Remove references to GelfFormatter 2012-10-17 08:59:38 +01:00
Tim Mower
93329e2a7f Add logstash formatter 2012-10-17 00:25:52 +01:00
Sebastian Goettschkes
cb675ae10f Changing typo in variable name and default title for pushover message 2012-10-05 16:56:58 +02:00
Sebastian Goettschkes
d6489bb3ae Adding a first version of PushoverHandler
The PushoverHandler sends messages to api.pushover.net. The class depends on the SocketHandler
I modified the SocketHandler to make it possible to change the port for subclasses (Pushover needs the explicit port 80 to work)
The tests only see if the content sent to the api is correct. The rest should be already covered in the tests for the Sockets.
2012-09-09 15:50:31 +02:00
Jordi Boggiano
a929570bb7 Fix json encoding, fixes #110 2012-09-05 21:32:46 +02:00
Markus Bachmann
e282394736 Add couchdb handler 2012-08-29 18:28:05 +02:00
David Zuelke
76fb21b31b Allow passing of openlog() options in SyslogHandler ctor 2012-08-29 10:54:14 +02:00