Removed Java 8 dependency

Altered use of logging API so not to have a dependency on Java 8