Last Updated: February 25, 2016
·
1.402K
· schpea

Using the gelf logging handler in Symfony 2.0.x

The gelf handler is only available if you use Symfony >= 2.1.

If, for whatever reason, you still use Symfony 2.0.x you can use these snippets to integrate the gelf handler in your current symfony installation

https://gist.github.com/2479478

Nevertheless I strongly recommend upgrading to the newest symfony version since support for 2.0 will be dropped soon.

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

PHP applications still send a browser full of JavaScript. Hardening the server does not inventory the payment, analytics, and plugin scripts that run after the HTML is delivered.

Security insights from Cside