added logging to service insertlog