Let's reduce the common boilerplate and have a single setup function used by all service code to setup logging.