Replace homebrewed logging classes with slf4j logging.