1. more log 2. bug fix when enabling JDK6