open log file in append mode to avoid overwriting when opening a batch
open log file in append mode to avoid overwriting when opening a batch

KBNLresearch/iromlab,KBNLresearch/iromlab,KBNLresearch/iromlab