25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

* src/web/ejabberd_http.erl: Change loglevel for http

queries (EJAB-363)
* src/web/ejabberd_web_admin.erl: Likewise

SVN Revision: 1033
This commit is contained in:
Badlop 2007-12-06 11:24:57 +00:00
parent 6c0e4820d8
commit 4f78230dd8
3 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,9 @@
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

View File

@ -199,7 +199,7 @@ process_header(State, Data) ->
{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)]),

View File

@ -707,7 +707,7 @@ process_admin(Host,
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
@ -820,7 +820,7 @@ process_admin(Host,
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
@ -857,7 +857,7 @@ process_admin(Host,
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}} ->
@ -930,7 +930,7 @@ process_admin(Host,
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;