Logging for change_dir