Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
loggly.com logger for Monolog integrated into Symfony2 - not really maintained anymore
branch: master
Failed to load latest commit information.
DependencyInjection Adding error level and bubbling to logger, so developer can specify l…
Monolog/Handler Import Monolog\Logger namespace.
Resources/config Adding error level and bubbling to logger, so developer can specify l…
LICENSE Initial LogglyBundle
README.md Update README.md
WhitewashingLogglyBundle.php Initial LogglyBundle
composer.json

README.md

LogglyBundle

Bundle is not maintained anymore, but mostly works because of its simplicity.

Loggly handler for Monolog as a Symfony bundle.

The bundle is inspired from Monologgly

Installation

Deps

[WhitewashingLogglyBundle]
    git=https://github.com/beberlei/WhitewashingLogglyBundle.git
    target=/bundles/Whitewashing/Bundle/LogglyBundle

Kernel

$bundles = array(
    //..
    new Whitewashing\Bundle\LogglyBundle\WhitewashingLogglyBundle(),
);

Autoload:

$loader->registerNamespaces(array(
    //..
    'Whitewashing' => __DIR__.'/../vendor/bundles',
));

Configuration

Configure Monolog

monolog:
    handlers:
        main:
            type:         fingers_crossed
            action_level: error
            handler:      loggly
        loggly:
            type: service
            id: whitewashing_loggly.monolog_handler

Configure Loggly:

whitewashing_loggly:
    # Loggly input key
    key: abcdefg

    # Loggly API host
    host: logs.loggly.com

    # Loggly API port (443 for HTTPS, 80 for HTTP)
    port: 443

    # Level to be logged (defaults to DEBUG)
    level: DEBUG

    bubble: true
Something went wrong with that request. Please try again.