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

Add logger configuration example to documentation #65

Open
tacman opened this issue Jun 16, 2017 · 1 comment
Open

Add logger configuration example to documentation #65

tacman opened this issue Jun 16, 2017 · 1 comment

Comments

@tacman
Copy link
Contributor

tacman commented Jun 16, 2017

If it's possible to use another PSR-3 logger, can you update the documentation to reflect how that's done, and also how to adjust the debug level.

Ideally --verbose (and --v, -vv, -vvv) would control the router and worker output in some way, but at least configurating it to not display INFO calls would make the output more useful.

@tacman
Copy link
Contributor Author

tacman commented Nov 9, 2017

Is this even possible? In production, we'd like to run bin/console thruway:router:start and (1) turn off INFO and (2) use a custom Logger (send the logs to Graylog, for example).

It appears this is supported (voryx/Thruway#10), but I can't figure out how to pass in a Logger class (via services.yml) to the services that ThruwayBundle exposes.

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

1 participant