Fix io_service bug & log system modified.