Developed with love by KnpLabs Hire us for your project!
24

WhitewashingLogglyBundle

by beberlei

loggly.com logger for Monolog integrated into Symfony2

LogglyBundle

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
Copyright (c) 2011 Whitewashing

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
whitewashing_loggly:
key: ~ # Required
port: 443
host: logs.loggly.com
level: 100
bubble: true
  • Merge pull request #7 from bradley-holt/namespace-import
    By beberlei, 2 months ago
  • Import Monolog\Logger namespace.
    By , 2 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago
  • Merge pull request #6 from vmattila/master
    By beberlei, 9 months ago