adding logging information to service