Use new Java 8 Date/Time API to format date for logging