Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logger extension bundle #225

Closed
adrienbrault opened this issue Nov 6, 2013 · 1 comment
Closed

Logger extension bundle #225

adrienbrault opened this issue Nov 6, 2013 · 1 comment
Assignees

Comments

@adrienbrault
Copy link

The StatsdBundle has a doctrine logger, to send queries times etc to statsd. However it does not work without enabling debug and profiling on doctrine connections (the default in the production env).

See https://github.com/liuggio/StatsDClientBundle/blob/master/DependencyInjection/Compiler/CollectorCompilerPass.php#L40-L45 and https://github.com/doctrine/DoctrineBundle/blob/master/DependencyInjection/DoctrineExtension.php#L105-L135

It would be useful to always have a chain logger on every connection, or have a tag to add loggers and this stuff would be handled by the doctrine bundle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants