Commented sql logging