fix issue regarding service loader

remove reference to class residing inside monitor-logging.
Merge pull request #2571 from sarmbruster/fix_serviceloader

fix for serviceloader