How to disable logger (print output) of a java library (jar) used in a java program?
Thanks
UPDATE: the library in question uses the built-in logger class in java (java.util.logging.Logger).
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See the answer from how can i disable the default console handler, while using the java logging api ?
Alternatively, set the logging level to
OFFas presented in the Javadocs for log level. Quote: