Improve the path logged.