set logfile mode to 'a'