Skip to content

Commit

Permalink
Remove some no longer useful logging
Browse files Browse the repository at this point in the history
This info is not very useful
  • Loading branch information
bumi committed Jul 27, 2024
1 parent 7ad8ce1 commit 4a63e05
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions lib/tokens/jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,6 @@ func Middleware(secret []byte) echo.MiddlewareFunc {
config.SuccessHandler = func(c echo.Context) {
token := c.Get("UserJwt").(*jwt.Token)
claims := token.Claims.(*jwtCustomClaims)
c.Logger().Warnj(log.JSON{
"msg": "JWT details",
"UserID": claims.ID,
"MaxSendVolume": claims.MaxSendVolume,
"MaxSendAmount": claims.MaxSendAmount,
"MaxReceiveVolume": claims.MaxReceiveVolume,
"MaxReceiveAmount": claims.MaxReceiveAmount,
"MaxAccountBalance": claims.MaxAccountBalance,
})
c.Set("UserID", claims.ID)
// enable it only for getalbycom calls
// there might still be old tokens out there that have these set to 0 (which meant disabled)
Expand Down
1 change: 0 additions & 1 deletion lnd/lnd_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ func (cluster *LNDCluster) StartLivenessLoop(ctx context.Context) {
case <-ctx.Done():
return
case <-ticker.C:
cluster.Logger.Info("Checking cluster status")
checkCtx, cancel := context.WithTimeout(ctx, 30*time.Second)
defer cancel()
cluster.checkClusterStatus(checkCtx)
Expand Down

0 comments on commit 4a63e05

Please sign in to comment.