Updates to logging system to simplify and add preliminary implementation for slf4j support.