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

1013 Commits

Author SHA1 Message Date
Mike Meessen
b2ce4483a5 Fixed phpdoc, typo and indentation issues. 2013-04-30 12:57:02 +02:00
Mike Meessen
690bbdb2ff Refactored / Renamed the CategoryErrorLevelActivationStrategy to the
more appropriate ChannelLevelActivationStrategy.
2013-04-30 10:57:25 +02:00
Mike Meessen
c72aff2238 Added CategoryErrorLevelActivationStrategy, which enables setting the
Error Level threshold per log channel.
2013-04-29 14:52:29 +02:00
Christophe Coevoet
d885932183 Updated the ChromePHPHandler for the new version of the extension 2013-04-23 14:22:10 +02:00
Jordi Boggiano
41d514114c Output message to the user when chrome logs have been truncated, refs #172 2013-04-23 12:05:59 +02:00
Jordi Boggiano
6275edbe75 Stop sending logs when the chrome header size limit has been reached, fixes #172 2013-04-23 11:47:22 +02:00
Jordi Boggiano
7e56792987 Fix docblock 2013-04-23 11:10:54 +02:00
Joshua Jabbour
6a8154756e Flip getLevels() response. 2013-04-15 12:24:24 -05:00
Joshua Jabbour
85dbaf9733 Add getter to return all supported log levels. 2013-04-15 11:46:35 -05:00
Jordi Boggiano
642cdf620b Add support for previous exceptions in LineFormatter 2013-04-07 13:22:41 +02:00
Jordi Boggiano
3f8c37b23c CS fixer 2013-03-28 11:41:04 +01:00
Pascal Borreli
593ddace4a Passing context as extra parameters (Additional data) fixes 171 2013-03-26 15:42:50 +00:00
Eduardo Oliveira
f84f58188c At isHandling remove unused variable on foreach 2013-03-24 12:11:22 +00: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
Jordi Boggiano
041aa3930f Add length arg to the UidProcessor, refs #169 2013-02-26 11:18:11 +01:00
Simon Mönch
340c85b8cc Bugfix 2013-02-26 10:48:50 +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
953f21a7d8 Force log rotation on a daily basis even for long running processes, fixes #166 2013-02-21 11:03:40 +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
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