only allow appending mode for log