DBBrowserDB: Clean up logSQL() method