Log update/select/insert queries separately.

This will log to something like e.g. ``db.mysql.default.execute.select``.

Please tell me if something has to be approved in this pull request.
do these tests test that your code works and outputs .select, .insert, .delete etc seperately? It would be nice if they did.