Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2e856adf50
Fetching contributors…

Cannot retrieve contributors at this time

file 18 lines (12 sloc) 0.419 kb

Configuration:

Add the following to the factories.yml under the loggers section:

redis_logger:
  class: RedisLogger
    param: 
      host: localhost
      port: 6379
      maxlogs: 1000

And in the ProjectConfiguration::setup() method

$this->enablePlugins('avRedisLoggerPlugin');

The logs will be pushed to a list with this key:

<?php $key = 'logs.'.gethostname(); ?>
Something went wrong with that request. Please try again.