changed to save log file to shared dir