Graylog2 with Symfony 2 (Monolog)

后端 未结 1 436
慢半拍i
慢半拍i 2021-02-15 12:09

I want to use the \"Monolog -> GelfHandler\" in a SF2 project. So I\'ve added the following to my composer.json:

\"graylog2/gelf-php\": \"dev-master\"

相关标签:
1条回答
  • 2021-02-15 12:37

    ok, i will answer my question by my self. the failure is to change the "formatter" or you have to use a formatter is sub-classes from Monolog\Formatter\GelfMessageFormatter.

    thx @ all

    0 讨论(0)
提交回复
热议问题