log the sql which resultset is more than 64KB