From 63775d75c69d32fc44b8f575eb3013085da48cf6 Mon Sep 17 00:00:00 2001 From: Urko Date: Fri, 4 Aug 2023 23:01:56 +0200 Subject: [PATCH] add some logs --- internal/services/prosody/prosody.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/services/prosody/prosody.go b/internal/services/prosody/prosody.go index 7a9fde4..1f513e9 100644 --- a/internal/services/prosody/prosody.go +++ b/internal/services/prosody/prosody.go @@ -2,6 +2,7 @@ package prosody import ( "fmt" + "log" "net/url" ) @@ -17,6 +18,8 @@ func NewProsody(domain string) *Prosody { if err != nil { panic(fmt.Errorf("urlQueryUnescape %w", err)) } + log.Println("/var/lib/prosody/" + domain + "/accounts/") + log.Println(plainDomain) return &Prosody{ binPath: "/usr/bin/prosodyctl", accountsPath: "/var/lib/prosody/" + domain + "/accounts/",