diff --git a/internal/endpoint/imap/imap.go b/internal/endpoint/imap/imap.go index 93cc4bf..7fc60b0 100644 --- a/internal/endpoint/imap/imap.go +++ b/internal/endpoint/imap/imap.go @@ -69,9 +69,9 @@ type Endpoint struct { func New(modName string, addrs []string) (module.Module, error) { endp := &Endpoint{ addrs: addrs, - Log: log.Logger{Name: "imap"}, + Log: log.Logger{Name: modName}, saslAuth: auth.SASLAuth{ - Log: log.Logger{Name: "imap/sasl"}, + Log: log.Logger{Name: modName + "/sasl"}, }, }