Skip to content

Commit

Permalink
Change logging
Browse files Browse the repository at this point in the history
  • Loading branch information
giftkugel committed Sep 6, 2024
1 parent dc705cf commit 9880008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/manager/session/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (loginManager *loginManager) CloseSession(id string, all bool) {
loginSessionStore := *loginManager.loginSessionStore
loginSession, loginSessionExists := loginSessionStore.Get(id)
if loginSessionExists {
log.Info("Closing main login session with id %s", id)
log.Debug("Closing main login session with id %s", id)
loginSessionStore.Delete(id)
if all {
username := loginSession.Username
Expand All @@ -67,7 +67,7 @@ func (loginManager *loginManager) CloseSession(id string, all bool) {
}
}
for _, otherSessionId := range userSessionIds {
log.Info("Closing login session with id %s", otherSessionId)
log.Debug("Closing login session with id %s", otherSessionId)
loginSessionStore.Delete(otherSessionId)
}
}
Expand Down

0 comments on commit 9880008

Please sign in to comment.