internal: cleanup logging, remove duplicate code
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -62,7 +62,7 @@ func (ls *LDAPServer) StartLDAPServer() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
ls.log.Printf("closing %s", ln.Addr())
|
||||
ls.log.WithField("listen", listen).Info("Stopping LDAP server")
|
||||
return ls.s.ListenAndServe(listen)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user