Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
move log
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio1988 committed Sep 13, 2023
1 parent c621067 commit 4c9bc9e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions routes/raw.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ func Raw(c *gin.Context) {
if ws.CheckLimitExceeded() {
log.Warnf("[RAW] [%s] Account would exceed soft limits - DISABLED ACCOUNT: [%s]", res.Uuid, res.Username)
accountManager.MarkDisabled(res.Username)
}
counts := ws.RequestCounts()
if len(counts) > 0 {
counts := ws.RequestCounts()
log.Infof("[RAW] [%s] [%s] Account limits: %v", res.Uuid, res.Username, counts)
}
}()
Expand Down

0 comments on commit 4c9bc9e

Please sign in to comment.