1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-26 10:06:10 +01:00
Commit Graph

1333 Commits

Author SHA1 Message Date
Jeremy Kitchen
87781ebcb4 adds a redis handler
This is useful when used in conjuction with the LogstashFormatter, but
should also be useful for any formatter where $message["formatted"] is
a string.
2013-02-11 17:39:35 -08:00
Jordi Boggiano
9dc4ffc071 Fix json encoding in ChromePHPHandler, fixes #160 2013-02-11 11:28:59 +01:00
Jordi Boggiano
20c831ef6a Merge pull request #159 from dlsniper/no-use-speed-bump
Deferred timezone creation
2013-02-10 14:19:11 -08:00
Florin Patan
5191ce91a1 Deferred timezone creation 2013-02-10 12:07:16 +02:00
Prajwal Tuladhar
01790263f4 apply wordwrap and implode before doing iteration 2013-02-02 15:50:01 -05: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
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
ea009c091b Format record with NormalizerFormatter before writing to ZendMonitor. 2013-01-30 19:45:54 +01:00
ChristianB
a82bac49f2 Added ZendMonitor Handler 2013-01-30 19:26:25 +01:00
Jordi Boggiano
957ee8d0d6 Fix idiocy, refs #152 2013-01-22 16:02:20 +01:00
Jordi Boggiano
01bb026750 Add BC for the sendHeaders property, fixes #152 2013-01-22 15:56:28 +01:00
Jordi Boggiano
dae7e03ae3 Fix permissions 2013-01-22 10:58:40 +01:00
Jordi Boggiano
63ddafb492 Merge remote-tracking branch 'AlexButter/master' 2013-01-22 10:56:59 +01:00
Ryan LaHue
e0d18f454b Make ChromePHPHandler and FirePHPHandler sendHeaders flag static so that when multiple instances of the handler class exist they will all respect the one-time check that determines whether the handler should append its logs to the response header 2013-01-21 13:10:35 -08:00
Alex Butter
448d5470f0 Option to use SSL for PushoverHandler (enabled by default), and close connection after sending a message to PushOver.
Solves #146: When sending messages in rapid succession to pushover.net only the first one is sent.
The SSL option is needed when sending messages to users that are not the pushover.net app owner; pushover.net doesn't accept those messages over plain HTTP.
2013-01-16 12:57:14 +01:00
Matt Labrum
6aac39cb25 Update GelfMessageFormatter to replace syslog constants with integers 2013-01-10 17:07:23 -08:00
Jordi Boggiano
119df2de09 Always use \n for line breaks 2013-01-10 17:58:58 +01:00
Gunnar Lium
71e9cf5626 Add linebreak to end of logstash records. 2013-01-09 16:25:35 +01:00
Jordi Boggiano
bf356ef72f Update raven log level mappings 2013-01-07 20:46:34 +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
176cb2a354 Change the default pushover title to the hostname 2013-01-06 21:43:32 +01:00
Jordi Boggiano
09d8747914 Specify port in the connection string instead of adding a protected property 2013-01-06 21:38:40 +01:00
Jordi Boggiano
a35401e8ce Merge remote-tracking branch 'Sgoettschkes/PushoverHandler' 2013-01-06 21:12:35 +01:00
Jordi Boggiano
d4b18d8160 Docblock fix 2013-01-06 20:56:34 +01:00
Jordi Boggiano
e569dfc27a Merge remote-tracking branch 'Baachi/couchdb' 2013-01-06 20:47:53 +01:00
Jordi Boggiano
2909f89faa Clarify docblocks, fixes #142 2013-01-06 20:25:29 +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
52b454f890 Merge remote-tracking branch 'AlexeyDsov/syslogHandlerFormatterFix' 2012-12-21 10:35:52 +01:00
AlexeyDsov
a3e5148444 fixing SyslogHandler::getDefaultFormatter format 2012-12-21 13:31:44 +04:00
Jordi Boggiano
cb83512ca5 Make isHandling create the minimum required record 2012-12-21 09:41:30 +01:00
Jordi Boggiano
8dd213fcf1 Merge remote-tracking branch 'origin/master' 2012-12-14 12:21:55 +01:00
Jordi Boggiano
5e78992f96 Make applicationName mandatory in LogstashFormatter 2012-12-14 12:15:52 +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
Jordi Boggiano
30b48f1231 Enforce the handler is callable before calling it 2012-11-04 17:37:56 +01:00
Jordi Boggiano
49143f3d11 s/callback/callable/g 2012-11-04 17:37:25 +01:00
Marc Abramowitz
c2850f127c Remove close method which was setting $this->ravenClient = null 2012-10-25 09:27:24 -07:00