Use getter/setter syntax for log
Test on jdk8