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

monolog-bundle

by symfony

Symfony Monolog Bundle

MonologBundle

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

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:
use_microseconds: true
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
app_name: ~
include_stacktraces: false
process_psr_3_messages: true
path: %kernel.logs_dir%/%kernel.environment%.log
file_permission: ~
filename_format: {filename}-{date}
date_format: Y-m-d
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
flush_on_overflow: false
handler: ~
url: ~
exchange: ~
exchange_name: log
room: ~
message_format: text
api_version: ~
channel: ~
bot_name: Monolog
use_attachment: true
use_short_attachment: false
include_extra: false
icon_emoji: ~
webhook_url: ~
team: ~
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
transport: Http
user: ~
password: ~
index: monolog
document_type: logs
ignore_error: false
config: []
members: []
from_email: ~
to_email: []
subject: ~
content_type: ~
mailer: mailer
email_prototype:
id: ~ # Required
method: ~
lazy: true
connection_string: ~
timeout: ~
time: 60
deduplication_level: 400
store: ~
connection_timeout: ~
persistent: ~
dsn: ~
client_id: ~
auto_log_stacks: false
release: ~
message_type: 0
tags: []
verbosity_levels:
VERBOSITY_QUIET: ERROR
VERBOSITY_NORMAL: WARNING
VERBOSITY_VERBOSE: NOTICE
VERBOSITY_VERY_VERBOSE: INFO
VERBOSITY_DEBUG: DEBUG
channels:
type: ~
elements: []
formatter: ~
nested: false
  • Update changelog
    By stof, 4 months ago
  • bug #254 Make channel selection work with autowired arguments (stof)
    By stof, 4 months ago
  • bug #256 Mark incomplete service definitions as abstract (stof)
    By stof, 4 months ago
  • Mark incomplete service definitions as abstract
    By stof, 4 months ago
  • Make channel selection work with autowired arguments
    By stof, 4 months ago
  • minor #253 Enforce that channels defined in the config are public loggers (stof)
    By stof, 4 months ago
  • minor #255 Clean tests about the PSR-3 processor (stof)
    By stof, 4 months ago
  • Clean tests about the PSR-3 processor
    By stof, 4 months ago
  • Enforce that channels defined in the config are public loggers
    By stof, 4 months ago
  • minor #250 Switch to namespaced PHPUnit classes (derrabus)
    By Tobion, 5 months ago
  • minor #249 Removed unused imports (derrabus)
    By Tobion, 5 months ago
  • minor #230 Update configuration.php (adouiri)
    By Tobion, 5 months ago
  • minor #240 Remove Extra spaces (adouiri)
    By Tobion, 5 months ago
  • minor #239 update the Travis CI config (xabbuh)
    By Tobion, 5 months ago
  • minor #248 Remove randomness from container compilation (derrabus)
    By Tobion, 5 months ago
  • Switch to namespaced PHPUnit classes.
    By derrabus, 5 months ago
  • Removed unused imports.
    By derrabus, 5 months ago
  • Remove randomness from container compilation.
    By derrabus, 5 months ago
  • Merge pull request #244 from curry684/patch-1
    By web-flow, 6 months ago
  • Remove obsolete warnings in README
    By web-flow, 6 months ago
  • Remove Extra spaces
    By web-flow, 8 months ago
  • update the Travis CI config
    By xabbuh, 8 months ago
  • updated CHANGELOG
    By fabpot, 8 months ago
  • fixed CS
    By fabpot, 8 months ago
  • bug #235 Fix invalid use of count() in PHP 7.2 (merk)
    By fabpot, 8 months ago
  • minor #238 use symfony/phpunit-bridge for tests (fabpot)
    By fabpot, 8 months ago
  • fixed Travis PHP 5.3, simplified config
    By fabpot, 8 months ago
  • use symfony/phpunit-bridge for tests
    By fabpot, 8 months ago
  • Fix invalid use of count() in PHP 7.2
    By web-flow, 9 months ago
  • Merge pull request #234 from symfony/exclude-from-classmap
    By web-flow, 9 months ago