Add append option to log files