anchor.diff:    {noreply, State}.
   
   %% @private
  +handle_info({timeout, TimerRef, _}, #state{timer = TimerRef,
  +                                           log_ref = LogRef,
  +                                           opts = Opts,
  +                                           name = Name,
  +                                           inode = Inode} = State) ->
  +  NewState =
  +    case get_inode(Name) of
  +      Inode ->
  +        State;
  +      _ ->
  +        safe_close(LogRef),
  +        Args  = get_args(Opts),
  +        {LogRef1, LogFun1} = open_logs(Args),
  +        NewInode = get_inode(Name),
  +        State#state{log_ref = LogRef1, log_fun = LogFun1, inode = NewInode}
  +    end,
  +  NewTimer = erlang:start_timer(?CHECK_INTERVAL, self(), timeout),
  +  {noreply, NewState#state{timer = NewTimer}};
   handle_info(_Msg, StateData) ->
     {noreply, StateData}.
   
  
positive.code:   Fun;
  get_log_fun(Format, Sync, [_| T]) ->
    get_log_fun(Format, Sync, T).
  
negative.code:   Format = gen_alog:get_opt(?FORMAT_ARG, DLArgs , ?FORMAT_DEF),
    Sync   = gen_alog:get_opt(?SYNC_ARG  , ADLArgs, ?SYNC_DEF),
    LogFun = get_log_fun(Format, Sync, ?LOG_FUNS),
    case disk_log:open(DLArgs) of
      {ok, LogRef} ->
        {LogRef, LogFun};
      {repaired, LogRef, _recovered, _badbytes} ->
        {LogRef, LogFun};
      Error ->
        throw(Error)
    end.
  