[P3]SQL logging (in) fix.