update log file name to include sapi name.