Fix skipped log message bug. Close #124.