Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Sample symfony logger

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
README.md

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.