How to specified the target location to store the log file