mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-30 16:36:29 +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:
parent
6c0e4820d8
commit
4f78230dd8
@ -1,5 +1,9 @@
|
|||||||
2007-12-06 Badlop <badlop@process-one.net>
|
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
|
* doc/guide.tex: Add mod_caps and improve mod_pubsub documentation
|
||||||
* src/ejabberd.cfg.example: Added mod_caps enabled by default
|
* src/ejabberd.cfg.example: Added mod_caps enabled by default
|
||||||
|
|
||||||
|
@ -199,7 +199,7 @@ process_header(State, Data) ->
|
|||||||
{ok, {http_header, _, _, _, _}} ->
|
{ok, {http_header, _, _, _, _}} ->
|
||||||
State;
|
State;
|
||||||
{ok, http_eoh} ->
|
{ok, http_eoh} ->
|
||||||
?INFO_MSG("(~w) http query: ~w ~s~n",
|
?DEBUG("(~w) http query: ~w ~s~n",
|
||||||
[State#state.socket,
|
[State#state.socket,
|
||||||
State#state.request_method,
|
State#state.request_method,
|
||||||
element(2, State#state.request_path)]),
|
element(2, State#state.request_path)]),
|
||||||
|
@ -707,7 +707,7 @@ process_admin(Host,
|
|||||||
path = ["acls"],
|
path = ["acls"],
|
||||||
q = Query,
|
q = Query,
|
||||||
lang = Lang} = Request) ->
|
lang = Lang} = Request) ->
|
||||||
?INFO_MSG("query: ~p", [Query]),
|
?DEBUG("query: ~p", [Query]),
|
||||||
Res = case Method of
|
Res = case Method of
|
||||||
'POST' ->
|
'POST' ->
|
||||||
case catch acl_parse_query(Host, Query) of
|
case catch acl_parse_query(Host, Query) of
|
||||||
@ -820,7 +820,7 @@ process_admin(Host,
|
|||||||
path = ["access"],
|
path = ["access"],
|
||||||
q = Query,
|
q = Query,
|
||||||
lang = Lang} = Request) ->
|
lang = Lang} = Request) ->
|
||||||
?INFO_MSG("query: ~p", [Query]),
|
?DEBUG("query: ~p", [Query]),
|
||||||
Res = case Method of
|
Res = case Method of
|
||||||
'POST' ->
|
'POST' ->
|
||||||
case catch access_parse_query(Host, Query) of
|
case catch access_parse_query(Host, Query) of
|
||||||
@ -857,7 +857,7 @@ process_admin(Host,
|
|||||||
path = ["access", SName],
|
path = ["access", SName],
|
||||||
q = Query,
|
q = Query,
|
||||||
lang = Lang} = Request) ->
|
lang = Lang} = Request) ->
|
||||||
?INFO_MSG("query: ~p", [Query]),
|
?DEBUG("query: ~p", [Query]),
|
||||||
Name = list_to_atom(SName),
|
Name = list_to_atom(SName),
|
||||||
Res = case lists:keysearch("rules", 1, Query) of
|
Res = case lists:keysearch("rules", 1, Query) of
|
||||||
{value, {_, String}} ->
|
{value, {_, String}} ->
|
||||||
@ -930,7 +930,7 @@ process_admin(Host,
|
|||||||
path = ["last-activity"],
|
path = ["last-activity"],
|
||||||
q = Query,
|
q = Query,
|
||||||
lang = Lang} = Request) when is_list(Host) ->
|
lang = Lang} = Request) when is_list(Host) ->
|
||||||
?INFO_MSG("query: ~p", [Query]),
|
?DEBUG("query: ~p", [Query]),
|
||||||
Month = case lists:keysearch("period", 1, Query) of
|
Month = case lists:keysearch("period", 1, Query) of
|
||||||
{value, {_, Val}} ->
|
{value, {_, Val}} ->
|
||||||
Val;
|
Val;
|
||||||
|
Loading…
Reference in New Issue
Block a user