evotide / monolog-fluentd-bundle

Symfony 插件,通过 Monolog 使日志记录支持 fluentd。

安装: 1

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 0

分支: 6

类型:symfony-bundle

dev-master 2023-04-10 13:30 UTC

This package is auto-updated.

Last update: 2024-09-10 16:32:32 UTC


README

以下是默认参数

monolog_fluentd:
  host: localhost
  port: 24224
  options: []
  level: debug
  tag_fmt: '{{channel}}.{{level_name}}'
  exceptions: true

您可以在 config.yml 或 parameters.yml 中修改它们

您可以将处理器作为服务加载

monolog:
  handlers:
    monolog_fluentd:
      type: service
      id: monolog_fluentd.fluentd_handler