write tracking logs to local folder