Add sql queries log