anchor.diff:  		TS = list_to_integer(TimeStamp),
   		N = list_to_integer(Serial),
   		case ocs_log:auth_query(start, TS, TS, '_', '_', '_', '_') of
  -			{error, _} ->
  +			{error, _Reason} ->
   				{error, 500};
  -			{_, Events} ->
  +			{_Cont, Events} ->
   				case lists:keyfind(N, 2, Events) of
   					Event when is_tuple(Event) ->
   						{struct, Attr} = usage_aaa_auth(Event, []),
  
positive.code: %% @hidden
  get_auth_query_page(PageServer, Start, End, Etag, Filters) ->
  	case gen_server:call(PageServer, {Start, End}) of
  		{error, _} ->
  			{error, 500};
  		{_Cont, []} ->
  			{error, 404};
  
negative.code: %% @hidden
  get_auth_query([] = _Query, Filters) ->
  	Now = erlang:system_time(?MILLISECOND),
  	case supervisor:start_child(ocs_rest_pagination_sup,
  			[[ocs_log, auth_query, [1, Now, '_', '_', '_', '_']]]) of
  		{ok, PageServer, Etag} ->
  			{ok, MaxItems} = application:get_env(ocs, rest_page_size),
  			get_auth_query_page(PageServer, 1, MaxItems, Etag, Filters);
  