Add & fix SQL tracing

- #3147
Why not use the property the users have to use? The property is `protected virtual` so if it is overridden by the user they won't get these traces.