anchor.diff:  
   handle_info(flush_buffer, State) ->
       {noreply, flush_buffer(State)};
  +handle_info(check_file, #state{rotation_check_interval = RotCheckInterval} = State) ->
  +    NewState = check_log_file(State),
  +    erlang:send_after(RotCheckInterval, self(), check_file),
  +    {noreply, NewState};
   handle_info(Info, State) ->
       {stop, {unexpected_info, Info}, State}.
   
  
positive.code:           path :: string(),
            file :: undefined | file:io_device(),
            file_size :: integer(),
            buffer :: binary(),
            buffer_size :: integer(),
            flush_timer :: undefined | reference(),
  
negative.code:                    batch_timeout = BatchTimeout,
                     rotation_size = RotSize,
                     rotation_num_files = RotNumFiles,
                     rotation_compress = RotCompress,
                     rotation_check_interval = RotCheckInterval},
  
      case RotCheckInterval > 0 of
          true ->
              erlang:send_after(RotCheckInterval, self(), check_file);
          false ->
              ok
      end,
  
      {ok, open_log_file(State)}.
  
  