Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sample symfony logger
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
LICENSE
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.