]> granicus.if.org Git - ejabberd/commitdiff
Debug log to help troubleshoot delegation ACLs
authorMickaël Rémond <mremond@process-one.net>
Tue, 11 Jun 2019 16:52:44 +0000 (18:52 +0200)
committerGitHub <noreply@github.com>
Tue, 11 Jun 2019 16:52:44 +0000 (18:52 +0200)
src/mod_delegation.erl

index 532463e3afd03fd18e8e5630d304cd3cc05a7feb..92d238c0d7cace39f62a5fb1d529111fc5617f1e 100644 (file)
@@ -157,6 +157,7 @@ handle_cast({component_connected, Host}, State) ->
                  allow ->
                      send_disco_queries(ServerHost, Host, NS);
                  deny ->
+                     ?DEBUG("Denied delegation for ~s on ~s", [Host, NS]),
                      ok
              end
       end, NSAttrsAccessList),