Skip to content

andreasemer/firegento-logger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento Module for advanced logging

The purpose of this project is to have a simple framework for different logging adapters.

Originally developed as Hackathon_Logger but moved forewards and will now actively supported by firegento community.

See the Usage Chapter below to see how to use it.

Please be aware of the following restrictions:

  • The ProxiBlue NewRelic extension use the same logic to log to NewRelic and will block FireGento Logger extension.

Installation Instructions

Via modman

  • Install modman
  • Use the command from your Magento installation folder: modman clone https://github.com/firegento/firegento-logger

Via composer

{
    ...
    "require": {
        "firegento/logger":"*"
    },
    "repositories": [
	    {
            "type": "composer",
            "url": "http://packages.firegento.com"
        }
    ],
    "extra":{
        "magento-root-dir": "./"
    }
}
  • Then from your composer.json folder: php composer.phar install or composer install

Manually

  • You can copy the files from the folders of this repository to the same folders of your installation

Installation in ALL CASES

  • Clear the cache, logout from the admin panel and then login again.

Uninstallation

  • Remove all extension files from your Magento installation

Usage

Configure the different loggers in System > Configuration > Advanced > Firegento Logger

Further Information

Contributors

  • Karl Spies
  • Christoph
  • Christian
  • Claas
  • Damian Luszczymak
  • Colin
  • Marco Becker
  • Nicolai Essig
  • Daniel Kröger
  • Michael Ryvlin
  • Tobias Zander

Current Status of Project

Complete, working logger interfaces:

  • File (Magento default)
  • File (Advanced Format)
  • E-Mail
  • Database
  • XMPP (Jabber, Google Talk)
  • Graylog2
  • RSyslog (UDP)
  • Loggly (UDP/HTTPS)
  • Chromelogger
  • Logstash

It is possible to use Multiple-Targets!

Other Features

  • Log Live View (Like a tail in terminal)
  • Report View (Shows content of a report in backend)

Further work

External libraries

For XMPP we use https://github.com/cweiske/xmpphp. For ChromeLogger we use https://github.com/ccampbell/chromephp

How to contribute

Make a fork, commit to develop branch and make a pull request

Some Hints

  • There are combinations there doesn't work together ** You can't use Chromelogger with the embeded queueing model, because the queueing takes place after the response is send to the client

Licence

GNU General Public License, version 3 (GPLv3)

About

Framework for different logging adapters for Magento 1.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 95.0%
  • HTML 4.5%
  • CSS 0.5%