anchor.diff:              Error
       end.
   
  -maybe_compress_post_rotate(#state{path = Path,
  -                                  rotation_num_files = NumFiles,
  -                                  rotation_compress = true})
  +maybe_compress_post_rotate(#worker_state{path = Path,
  +                                         rotation_num_files = NumFiles,
  +                                         rotation_compress = true})
     when NumFiles > 1 ->
       UncompressedPath = Path ++ ".1",
       CompressedPath = Path ++ ".1.gz",
  
positive.code:             end
      end.
  
  maybe_rotate_files(#state{file_size = FileSize,
                            rotation_size = RotSize} = State)
    when RotSize =/= 0, FileSize >= RotSize ->
      ok = rotate_files(State),
      ok = maybe_compress_post_rotate(State),
  
negative.code: maybe_rotate_files(State) ->
      State.
  
  open_log_file(#worker_state{path = Path,
                              file = OldFile} = State) ->
      case OldFile of
          undefined ->
              ok;
  