Skip to content

Commit

Permalink
eosfs: added logging in CreateHome
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Sep 4, 2024
1 parent 8d1b4ab commit 4e6412f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/storage/utils/eosfs/eosfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1462,6 +1462,9 @@ func (fs *eosfs) createShadowHome(ctx context.Context) error {
}
}

log := appctx.GetLogger(ctx)
log.Info().Str("home", home).Interface("user", u.Id).Msg("created shadow home")

return nil
}

Expand Down Expand Up @@ -1523,6 +1526,9 @@ func (fs *eosfs) createNominalHome(ctx context.Context) error {
}
}

log := appctx.GetLogger(ctx)
log.Info().Interface("quotaInfo", quotaInfo).Interface("user", u.Id).Msg("created nominal home")

return nil
}

Expand Down

0 comments on commit 4e6412f

Please sign in to comment.