logs sql strings