add expand path for log file