change path of log and add logs.