I am using java.util.logging.Logger
But with storing messages in a log file, it also writes messages to the standard output (console).
How can I disable the logger to display messages on standard output?
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.
If you’re new to logging you should read Java Logging Overview.
You should also post your configuration
This snippet shows how to write log messages into a file: