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

Configuration Option to disable logging #16

Closed
jgoldhammer opened this issue Apr 7, 2016 · 2 comments
Closed

Configuration Option to disable logging #16

jgoldhammer opened this issue Apr 7, 2016 · 2 comments

Comments

@jgoldhammer
Copy link

Hi,

I am using your module (thanks for providing it!) and I would like to skip logging because I have my own LoggingFilter which takes care of logging and has a more complex logic to decide what to log and in which case.

In my eyes, it would make sense to provide an option to disable logging for your module.
What do you think?

Thanks,
Jens

@jirutka
Copy link
Owner

jirutka commented May 16, 2016

This module uses slf4j logging facade, you can simply disable logging for particular classes of this module in your logging implementation (e.g. logback, log4j, …). For example in logback:

<logger name="cz.jirutka.spring.exhandler.handlers.RestExceptionHandler" level="OFF" />

@jgoldhammer
Copy link
Author

ok, thanks...

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