1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 09:49:18 +02:00

Lower log level for some messages

This commit is contained in:
Evgeniy Khramtsov 2017-04-15 15:47:00 +03:00
parent 4c5f97bb9a
commit 41fe062a8d
16 changed files with 17 additions and 17 deletions

View file

@ -330,7 +330,7 @@ import(_, _, _) ->
%%%===================================================================
clean_tables(ServerHost) ->
NodeS = erlang:atom_to_binary(node(), latin1),
?INFO_MSG("Cleaning SQL muc_online_room table...", []),
?DEBUG("Cleaning SQL muc_online_room table...", []),
case ejabberd_sql:sql_query(
ServerHost,
?SQL("delete from muc_online_room where node=%(NodeS)s")) of
@ -340,7 +340,7 @@ clean_tables(ServerHost) ->
?ERROR_MSG("failed to clean 'muc_online_room' table: ~p", [Err1]),
Err1
end,
?INFO_MSG("Cleaning SQL muc_online_users table...", []),
?DEBUG("Cleaning SQL muc_online_users table...", []),
case ejabberd_sql:sql_query(
ServerHost,
?SQL("delete from muc_online_users where node=%(NodeS)s")) of