store and read log positon of leader