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

Allow log4j 2 loggers to be bound to slf4j logger #686

Closed
tongguop opened this issue Aug 16, 2014 · 2 comments
Closed

Allow log4j 2 loggers to be bound to slf4j logger #686

tongguop opened this issue Aug 16, 2014 · 2 comments

Comments

@tongguop
Copy link

Log4j 2 is released and it has async loggers, which are much faster then synchronized loggers. It would bre really nice that DW removes the hard coded logback logger and allows log4j 2 loggers to be bound

@joschi
Copy link
Member

joschi commented Aug 17, 2014

Log4j 2 is released and it has async loggers, which are much faster then synchronized loggers.

For which use cases? Is logging or the performance of logback really a problem in your Dropwizard applications?

There are currently no plans to replace logback in Dropwizard or to make the logging framework swappable.

@joschi joschi closed this as completed Aug 17, 2014
@tongguop
Copy link
Author

We have a requirement to log every request including headers and payload. A lot of time user payloads are tens of KB, some times hundreds of KB(some extreme cases could reach MB level), async loggers are really needed in our situation so we don't need to wait on disk I/O.

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