Changes dir for logs.