anchor.diff:      end.
   
   
  -access_sql(Access) ->
  +sql(Access) ->
       case maps:get(args, Access, "") of
           #{<<"qstr">> := QStr} ->
               re:replace(
  
positive.code:     ok = gen_event:delete_handler(
             lager_event, {dderl_access_lager_file_backend, App}, []).
  
  access_src(Access) ->
      case maps:get(src, Access, "") of
          SrcIp when is_tuple(SrcIp) -> inet:ntoa(SrcIp);
          SrcIp when is_list(SrcIp) -> SrcIp;
          SrcIp -> io_lib:format("~p", [SrcIp])
      end.
  
  access_proxy(Access) ->
      SrcIp = maps:get(src, Access, ""),
      case maps:get(proxy, Access, "") of
          SrcIp -> "yes";
          _ -> "no"
      end.
  
  access_userid(Access) ->
      case maps:get(userId, Access, "") of
          undefined -> "";
          User when is_list(User) -> User;
          User -> io_lib:format("~p", [User])
      end.
  
  access_username(Access) ->
      case maps:get(userName, Access, "") of
          User when is_list(User) -> User;
          User when is_binary(User) -> binary_to_list(User);
          User -> io_lib:format("~p", [User])
      end.
  
  access_sessionid(Access) ->
      base64:encode_to_string(
        integer_to_list(
          erlang:phash2(
            maps:get(sessId, Access, "")))).
  
  access_version(Access) ->
      case application:get_key(maps:get(app,Access,undefined)) of
          {ok, Vsn} -> Vsn;
          _ -> ""
      end.
  
  access_args(Access) ->
      CmdArgs = maps:get(args, Access, ""),
      binary_to_list(
        case CmdArgs of
  
negative.code:           CmdArgs -> list_to_binary(io_lib:format("~p", [CmdArgs]))
        end).
  
  bytes(Access) ->
      case maps:get(bytes, Access, "") of
          "" -> "";
          Bytes when is_integer(Bytes) -> integer_to_list(Bytes);
          Bytes -> io_lib:format("~p", [Bytes])
      end.
  
  time(Access) ->
      case maps:get(time, Access, "") of
          "" -> "";
          Time when is_integer(Time) -> integer_to_list(Time);
  