Changing logpath