add some logs

This commit is contained in:
Urko 2023-08-04 23:01:56 +02:00
parent bd95dd8ffd
commit 63775d75c6
1 changed files with 3 additions and 0 deletions

View File

@ -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/",