Avoid NPE in DBLogEvent.setLogTime()