PalDB icon indicating copy to clipboard operation
PalDB copied to clipboard

How to reduce verbosity of log messages?

Open srp33 opened this issue 8 years ago • 5 comments

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?

srp33 avatar Sep 22 '16 15:09 srp33

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

wanggaohang avatar Sep 29 '16 03:09 wanggaohang

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

srp33 avatar Sep 29 '16 03:09 srp33

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

djkingCanada avatar May 04 '18 16:05 djkingCanada

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 avatar May 04 '18 16:05 djkingCanada

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

djkingCanada avatar May 04 '18 16:05 djkingCanada