fix for nullref when getting logger from service
Merge pull request #58 from jamessantiago/logging

fix for nullref when getting logger from service