set logger to service