anchor.diff:  init(Name, #{file:=File,type:=Type,max_no_bytes:=MNB,max_no_files:=MNF}) ->
       case open_disk_log(Name, File, Type, MNB, MNF) of
           ok ->
  -            {ok,#{log_opts => #{file => File,
  -                                type => Type,
  -                                max_no_bytes => MNB,
  -                                max_no_files => MNF},
  -                  prev_log_result => ok,
  -                  prev_sync_result => ok,
  -                  prev_disk_log_info => undefined}};
  +            {ok,#{log_opts=>#{file=>File,
  +                              type=>Type,
  +                              max_no_bytes=>MNB,
  +                              max_no_files=>MNF},
  +                  prev_log_result=>ok,
  +                  prev_sync_result=>ok,
  +                  prev_disk_log_info=>undefined}};
           Error ->
               Error
       end.
  
positive.code: 
  %%%-----------------------------------------------------------------
  %%% Updating handler config
  changing_config(SetOrUpdate, OldConfig, NewConfig) ->
      logger_h_common:changing_config(SetOrUpdate, OldConfig, NewConfig).
  
  %%%-----------------------------------------------------------------
  %%% Handler being removed
  
negative.code:             Error
      end.
  
  close_disk_log(Name,_) ->
      _ = ?disk_log_sync(Name),
      _ = disk_log:close(Name),
      ok.
  
  disk_log_write(Name,sync,Bin) ->
      disk_log:blog(Name,Bin);
  disk_log_write(Name,async,Bin) ->
      disk_log:balog(Name,Bin).
  
  %%%-----------------------------------------------------------------
  %%% Print error messages, but don't repeat the same message
  maybe_notify_error(Name,Op,Result,Key,#{log_opts:=LogOpts}=State) ->
      {Result,error_notify_new({Name,Op,LogOpts,Result},Result,Key,State)}.
  
  maybe_notify_status(Name,Log,Info,Key,State) ->
      error_notify_new({disk_log,Name,Log,Info},Info,Key,State).
  
  error_notify_new(Term,What,Key,State) ->
      error_notify_new(What,maps:get(Key,State),Term),
      State#{Key=>What}.
  
  error_notify_new(ok,_Prev,_Term) ->
      ok;
  