Add ts to sql log.