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

Is it possible to specify a log level per component #107

Open
no-more opened this issue Jan 3, 2017 · 2 comments
Open

Is it possible to specify a log level per component #107

no-more opened this issue Jan 3, 2017 · 2 comments

Comments

@no-more
Copy link

no-more commented Jan 3, 2017

Hi,

Let's say I have 10 components, each one is using this great logger, with lots of debugging logs defined.
Now I have completed 5 of those components in which I don't needs those debug logs anymore, but I don't want to remove them from the code because I could need them again later.
My question is : is there any "simple" way to define a different log level for each component, if none is provided it should be the global log level.

Thanks.

@langley-agm
Copy link
Contributor

Hi @no-more ,

Sadly not right now, it needs the "Support named loggers" part. I haven't got to it because while trying to maintain the same architecture log4j2 has I noticed it was overcomplicated for web clients, i'll try to settle down in the right architecture soon and let you know.

@no-more
Copy link
Author

no-more commented Jan 5, 2017

Thanks a lot.

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

No branches or pull requests

2 participants