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

MonologBundle

by symfony

Symfony Monolog Bundle

MonologBundle

The MonologBundle provides integration of the Monolog
library into the Symfony2 framework.

As of v2.4.0 of the bundle, the release cycle is de-synchronized from the framework's.
It means you can just require "symfony/monolog-bundle": "~2.4" in your composer.json
and Composer will automatically pick the latest version of the bundle that works with
your current version of Symfony. The minimum version of Symfony2 for this workflow
is 2.3.0.

More information in the official documentation.

License

This bundle is released under the MIT license

Copyright (c) 2004-2012 Fabien Potencier

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.
monolog:
channels: []
handlers:

# Examples:
syslog:
type: stream
path: /var/log/symfony.log
level: ERROR
bubble: false
formatter: my_formatter
main:
type: fingers_crossed
action_level: WARNING
buffer_size: 30
handler: custom
custom:
type: service
id: my_handler

# Prototype
name:
type: ~ # Required
id: ~
priority: 0
level: DEBUG
bubble: true
path: %kernel.logs_dir%/%kernel.environment%.log
file_permission: ~
ident: false
logopts: 1
facility: user
max_files: 0
action_level: WARNING
activation_strategy: ~
stop_buffering: true
passthru_level: ~
excluded_404s: []
accepted_levels: []
min_level: DEBUG
max_level: EMERGENCY
buffer_size: 0
handler: ~
url: ~
exchange: ~
exchange_name: log
room: ~
channel: ~
bot_name: Monolog
use_attachment: true
use_short_attachment: false
include_extra: false
icon_emoji: ~
notify: false
nickname: Monolog
token: ~
source: ~
use_ssl: true
user: ~
title: ~
host: ~
port: 514
publisher:
id: ~
hostname: ~
port: 12201
chunk_size: 1420
mongo:
id: ~
host: ~
port: 27017
user: ~
pass: ~
database: monolog
collection: logs
elasticsearch:
id: ~
host: ~
port: 9200
index: monolog
document_type: logs
config: []
members: []
from_email: ~
to_email: []
subject: ~
content_type: ~
mailer: mailer
email_prototype:
id: ~ # Required
method: ~
connection_string: ~
timeout: ~
connection_timeout: ~
persistent: ~
dsn: ~
client_id: ~
message_type: 0
tags: []
verbosity_levels:
VERBOSITY_NORMAL: WARNING
VERBOSITY_VERBOSE: NOTICE
VERBOSITY_VERY_VERBOSE: INFO
VERBOSITY_DEBUG: DEBUG
channels:
type: ~
elements: []
formatter: ~
  • Merge pull request #114 from dspe/master
    By Seldaek, 1 year ago
  • Fix Logstash formatter issue
    By , 1 year ago
  • Merge pull request #113 from dspe/master
    By Seldaek, 1 year ago
  • Add Logstash Formatter to monolog.xml
    By dspe, 1 year ago
  • Fix wording, refs #111
    By Seldaek, 2 years ago
  • Merge pull request #111 from yeroon/master
    By Seldaek, 2 years ago
  • added dot in phpdoc
    By , 2 years ago
  • formatting
    By yeroon, 2 years ago
  • Added check for kernel.debug
    By yeroon, 2 years ago
  • Bump target release
    By Seldaek, 2 years ago
  • Add config sample, refs #107
    By Seldaek, 2 years ago
  • Merge remote-tracking branch 'webfactory/add-whatfailuregroup-handler'
    By Seldaek, 2 years ago
  • Add new params to XSD, refs #105
    By Seldaek, 2 years ago
  • Merge remote-tracking branch 'scuben/enhanced-slack-handler'
    By Seldaek, 2 years ago
  • Adjust elasticsearch configuration, refs #108
    By Seldaek, 2 years ago
  • Merge remote-tracking branch 'agounaris/ag-elasticsearch-handler-type'
    By Seldaek, 2 years ago
  • Merge pull request #109 from stephpy/feature/swiftmailer_lazy
    By Seldaek, 2 years ago
  • Fix tests
    By Seldaek, 2 years ago
  • Set SwiftMailer creation message as lazy.
    By stephpy, 2 years ago
  • adding configuration documentation
    By agounaris, 2 years ago
  • adding support for elasticsearch
    By agounaris, 2 years ago
  • Add support for WhatFailureGroupHandler (Monolog ~1.11), fixes #107
    By mpdude, 2 years ago
  • added configuration settings for the enhanced slack handler (pr pending)
    By scuben, 2 years ago
  • Merge pull request #103 from unkind/feature-file-permission-option
    By Seldaek, 2 years ago
  • Added "file_permission" option for "stream" and "rotating_file" handler types
    By , 2 years ago
  • minor #100 Expose all formaters as services (lyrixx)
    By stof, 2 years ago
  • Expose all formater as services
    By lyrixx, 2 years ago
  • minor #99 Fixed CS (lyrixx)
    By stof, 2 years ago
  • Fixed CS
    By lyrixx, 2 years ago
  • Merge remote-tracking branch 'fotomerchant/feature/slackConfig'
    By Seldaek, 2 years ago