Distance fixed and log to file reduced.