changed the log path to local user dir to fix write error