I am using HtmlUnit to get some info from various web pages and when running the application it writes all page errors, CSS errors, script errors, from those pages. Can I shut that off? Thanks!
Share
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.
Put a file called “log4j.properties” in the root of your source code (i.e. where your “com” or “net” or what have you folders are) with this in it:
You can then experiment the lines like the last two to turn logging on or off for various packages.
log4j.category.com=NONEshould take care of pretty much ALL of it.