2007-12-06 Badlop <badlop@process-one.net>
+ * src/web/ejabberd_http.erl: Change loglevel for http
+ queries (EJAB-363)
+ * src/web/ejabberd_web_admin.erl: Likewise
+
* doc/guide.tex: Add mod_caps and improve mod_pubsub documentation
* src/ejabberd.cfg.example: Added mod_caps enabled by default
{ok, {http_header, _, _, _, _}} ->
State;
{ok, http_eoh} ->
- ?INFO_MSG("(~w) http query: ~w ~s~n",
+ ?DEBUG("(~w) http query: ~w ~s~n",
[State#state.socket,
State#state.request_method,
element(2, State#state.request_path)]),
path = ["acls"],
q = Query,
lang = Lang} = Request) ->
- ?INFO_MSG("query: ~p", [Query]),
+ ?DEBUG("query: ~p", [Query]),
Res = case Method of
'POST' ->
case catch acl_parse_query(Host, Query) of
path = ["access"],
q = Query,
lang = Lang} = Request) ->
- ?INFO_MSG("query: ~p", [Query]),
+ ?DEBUG("query: ~p", [Query]),
Res = case Method of
'POST' ->
case catch access_parse_query(Host, Query) of
path = ["access", SName],
q = Query,
lang = Lang} = Request) ->
- ?INFO_MSG("query: ~p", [Query]),
+ ?DEBUG("query: ~p", [Query]),
Name = list_to_atom(SName),
Res = case lists:keysearch("rules", 1, Query) of
{value, {_, String}} ->
path = ["last-activity"],
q = Query,
lang = Lang} = Request) when is_list(Host) ->
- ?INFO_MSG("query: ~p", [Query]),
+ ?DEBUG("query: ~p", [Query]),
Month = case lists:keysearch("period", 1, Query) of
{value, {_, Val}} ->
Val;