Added logging to various services