Add ability to log queries at a sqlbox level.