anchor.diff:      wait_for_kernel_safe_sup(),
       case history_status() of
           enabled ->
  -            try open_log() of
  +            %% If the size option were included the log file would be
  +            %% silently resized. If the log file does not exist, a
  +            %% {badarg, size} error is returned and a new log file
  +            %% created. If the file exists, the log file is resized if
  +            %% needed, with a size warning.
  +            try open_log_no_size() of
                   {ok, ?LOG_NAME} ->
  -                    read_full_log(?LOG_NAME);
  +                    maybe_resize_log(?LOG_NAME);
                   {repaired, ?LOG_NAME, {recovered, Good}, {badbytes, Bad}} ->
                       report_repairs(?LOG_NAME, Good, Bad),
                       read_full_log(?LOG_NAME);
  
positive.code: %% Open a disk_log file while ensuring the required path is there.
  open_log() ->
      Opts = log_options(),
      _ = ensure_path(Opts),
      disk_log:open(Opts).
  
  
negative.code:             [];
          {Cont, Logs} ->
              lists:reverse(maybe_drop_header(Logs) ++ read_full_log(Name, Cont))
      end.
  
  %% Resize or read an open log
  maybe_resize_log(Name) ->
      case {disk_log_info(size), find_wrap_values()} of
          {Sz, Sz} ->
              read_full_log(Name);
          {Current, New} ->
              show_size_warning(Current, New),
              resize_log(Name, Current, New),
              load()
      end.
  
  read_full_log(Name, Cont) ->
  