Add flag for append mode logging and remode append mode as a default