crashfix if file not exists, changed date format in log filename