Giter Club home page Giter Club logo

be.calibrate.eavesdropper's Introduction

be.calibrate.eavesdropper

Screenshot

Introduction

CiviCRM Eavesdropper: Overrides the default file log and writes to Redis instead.

Installation

  • You can directly clone to your CiviCRM extension directory using
    $ git clone https://github.com/wannesderoy/be.calibrate.eavesdropper

Requirements

  • PHP v7.0+
  • CiviCRM 5.0
  • PhpRedis extension
  • Redis 4.0

Configuration

Put the following constants in your civicrm.settings.php

/**
 * Configure the eavesdropper Redis connection here.
 */
if (!defined('CIVICRM_DB_LOG_HOST')) {
  define('CIVICRM_REDIS_LOG_HOST', 'redis' );
}
if (!defined('CIVICRM_DB_LOG_PORT')) {
  define('CIVICRM_REDIS_LOG_PORT', 6379 );
}
if (!defined('CIVICRM_DB_LOG_PASSWORD')) {
  define('CIVICRM_REDIS_LOG_PASSWORD', '' );
}
if (!defined('CIVICRM_DB_LOG_BASE')) {
  define('CIVICRM_REDIS_LOG_BASE', '' );
}

OR

Manage settings: yoursite.org/civicrm/eavesdropper/settings.

If the constants are defined the settings on /civicrm/eavesdropper/settings will do nothing. For performance reasons I encourage/recommend to use the constants.

Tips

Future

  • Support for other redis client classes.
  • ...

be.calibrate.eavesdropper's People

Contributors

wannesderoy avatar

Stargazers

Chris Burgess avatar Michael Z Daryabeygi avatar Wouter H avatar

Watchers

Chris Burgess avatar James Cloos avatar Wouter H avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.