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

JUL bridge generates a lot of unnecessary data #876

Open
andrzejressel opened this issue Aug 29, 2024 · 2 comments
Open

JUL bridge generates a lot of unnecessary data #876

andrzejressel opened this issue Aug 29, 2024 · 2 comments

Comments

@andrzejressel
Copy link
Contributor

Currently due to ".level = ALL" in Jul config all logs go to zio. I was expecting some kind of overhead, but not too much. When profiling my JAXB app, 20% of deserialization time and 90% of memory usage is wasted due to pushing FINEST level logs.

I guess current api has to be deprecated and every method should also have parameter with JUL config.

@justcoon
Copy link
Contributor

hi @andrzejressel
this seems to be similar problem like #809, which was solved with #810, and also jul-bridge have similar support

so if this is something like that, than it should be possible to set LogFilter for jul-bridge as mentioned in docs

@andrzejressel
Copy link
Contributor Author

Yeah, that seems to fix the issue. I think I will deprecate initialize and add note about finest level.

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