I hope you are using Hibernate and getting SQL queries also printed in log file.
If this is the case, Please make the show_sql property as false in hibernate config file. This will turn off the feature of sql getting printed.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop