write log entry to file on disk when appendEntry and truncate log file on disk when truncate log entries
add position to log_entry protobuf
remove panic from log.go
do not to init variable to zero
add comments for flushCommitIndex func
refactor fixlog
delete \n in nopcommand
write multiple entries with a buffered io