add sql log frpm prepared stmt