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:     BatchTimeout = proplists:get_value(batch_timeout, Opts, 1000),
  
      RotationConf = proplists:get_value(rotation, Opts, []),
      RotSize = proplists:get_value(size, RotationConf, 10485760),
      RotNumFiles = proplists:get_value(num_files, RotationConf, 20),
      RotCompress = proplists:get_value(compress, RotationConf, true),
  
      State = #state{path = Path,
                     buffer = <<>>,
  
negative.code:           batch_timeout :: pos_integer(),
            rotation_size :: non_neg_integer(),
            rotation_num_files :: pos_integer(),
            rotation_compress :: boolean(),
            rotation_check_interval :: non_neg_integer()
           }).
  
  start_link(Name, Path) ->
  