Added logging to service. Closed gh-1.