I am using Apache Commons Exec on a web application in JBoss 4.2.3. Whenever I call Apache Exec it outputs all the console output in the log and this is a lot of output and it could easily fill in my logs in a production environment. How can I prevent this log from printing and only show error logs?
Regards