A method for logging database queries includes receiving a request to log a plurality of database queries. Each database query is associated with an execution time. The method also includes summarizing at least some of the database queries in a log based at least partially on the execution time associated with each of the database queries.