Revised `monolog.yaml` to add a new "notifier" channel, updated handlers, and adjusted log settings. Extended logrotate configuration to include rotation rules for notifier logs, ensuring proper log management.
34 lines
907 B
YAML
34 lines
907 B
YAML
# this file is managed by ansible. Do not edit it by hand
|
|
|
|
#
|
|
# NOTE: the ansible-role-chill will also configure a rule for logrotate, so,
|
|
# we do not need to configure log rotation here
|
|
#
|
|
|
|
parameters:
|
|
log_prefix: 'test'
|
|
monolog:
|
|
# make a "notifier" channel available
|
|
channels: ['notifier']
|
|
handlers:
|
|
notifier_log:
|
|
type: stream
|
|
path: "%kernel.logs_dir%/notifier-%log_prefix%.log"
|
|
level: info
|
|
channels: [ 'notifier' ]
|
|
privacy_log:
|
|
type: stream
|
|
path: "%kernel.logs_dir%/privacy-%log_prefix%.log"
|
|
level: info
|
|
channels: [ 'chill' ]
|
|
default_log:
|
|
type: stream
|
|
path: "%kernel.logs_dir%/default-%log_prefix%.log"
|
|
level: info
|
|
channels: [ '!event', '!doctrine', '!console', '!chill',]
|
|
console:
|
|
type: console
|
|
process_psr_3_messages: false
|
|
channels: [ '!event', '!doctrine', '!console']
|
|
bubble: true
|