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

How to reduce verbosity of log messages? #31

Open
srp33 opened this issue Sep 22, 2016 · 5 comments
Open

How to reduce verbosity of log messages? #31

srp33 opened this issue Sep 22, 2016 · 5 comments

Comments

@srp33
Copy link

srp33 commented Sep 22, 2016

I am really liking your data store. The log output is a little verbose by default. Is there a way to configure it to only display error messages?

@wanggaohang
Copy link

realy? what kind of error messages? I don't have many paldb log messages in my situation.

@srp33
Copy link
Author

srp33 commented Sep 29, 2016

It print information about the sizes and quantities of keys, etc. to standard error. I'd like to be able to turn that off.

@djkingCanada
Copy link

I'd second this, it seems to logging a info level by default. Would very much like to turn down the noise.

@djkingCanada
Copy link

Logger l = Logger.getLogger("");
l.setLevel(Level.SEVERE)
Fixed it for me, I'm not using the default java logger anywhere else in the system, so messing with the root logger was not an issue.

@djkingCanada
Copy link

Logger l = Logger.getLogger("com.linkedin.paldb");
l.setLevel(Level.SEVERE)
also does the trick and won't mess up other logging.

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

3 participants