I'm trying to use the Monolog Loggly handler in Symfony2 but can't get it to work:
# config.yml
monolog:
handlers:
main:
type: stream
token: my-loggly-token
level: info
handler: loggly
tag: symfony-app
I've removed the monolog entries from config_dev.yml
and config_prod.yml
so the the setup above isn't being overridden. Inside a controller I'm trying to trigger an info event, but it's not appearing in Loggly. Where am I going wrong?
You should use type: loggly instead of stream.