Remove pointless debug log

This commit is contained in:
Dane Everitt 2020-09-11 23:18:51 -07:00
parent 5a62f83ec8
commit fa6f56caa8
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -58,9 +58,6 @@ func (h *Handler) ListenForServerEvents(ctx context.Context) {
go func(ctx context.Context) { go func(ctx context.Context) {
select { select {
case <-ctx.Done(): case <-ctx.Done():
if h.jwt != nil {
h.server.Log().WithField("jwt_subject", h.jwt.Subject).Debug("unsubscribing server from event listeners")
}
h.server.Events().Unsubscribe(e, eventChannel) h.server.Events().Unsubscribe(e, eventChannel)
close(eventChannel) close(eventChannel)