Add logging for traverse mode