1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-23 17:46:09 +02:00
Commit Graph

1143 Commits

Author SHA1 Message Date
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
5811217e4c Only access server data when it is actually available, fixes #164 2013-02-20 13:37:17 +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
7f25d28a10 Simplify redis handler code 2013-02-13 18:35:40 +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
Jordi Boggiano
458daf3040 Adjust exception message 2013-02-13 17:08:18 +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
e987508d06 \Redis support and LineFormatter as default
per #161, this adds support for \Redis as well as switches the
defaultFormatter out to use LineFormatter instead.
2013-02-12 17:44:20 -08:00
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