added logging for managed services