version 0.0.1 - support write and read log based on logindex