Skip to content

Commit

Permalink
More debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed May 24, 2024
1 parent 218ca51 commit 010b97a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ejabberd_sql_schema.erl
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,9 @@ should_update_schema(Host) ->
?INFO_MSG("SQL Schema: should_update_schema for ~p - 4", [Host]), %+++
true;
_ ->
?INFO_MSG("SQL Schema: should_update_schema for ~p - 4 NO", [Host]), %+++
Hosts = ejabberd_option:hosts(),
Results = [{H, ejabberd_option:auth_method(H)} || H <- ejabberd_option:hosts()],
?INFO_MSG("SQL Schema: should_update_schema for ~p - 4 NO~n Hosts: ~p~n Results: ~p", [Host, Hosts, Results]), %+++
false
end;
false ->
Expand Down Expand Up @@ -855,6 +857,7 @@ preprocess_schemas(SchemaInfo, Schemas) ->
end, Schemas).

update_schema(Host, Module, RawSchemas) ->
?INFO_MSG("update_schema ~p, ~p", [ Host, Module ]), %+++
case should_update_schema(Host) of
true ->
SchemaInfo =
Expand Down

0 comments on commit 010b97a

Please sign in to comment.