ldap-import: Add additional logs (#19691)

These logs are being added to provide better debugging of LDAP
normalization on IAM import.
This commit is contained in:
Aditya Manthramurthy
2024-05-09 10:52:53 -07:00
committed by GitHub
parent 3549e583a6
commit e00de1c302
2 changed files with 21 additions and 2 deletions

View File

@@ -18,6 +18,10 @@ func iamLogIf(ctx context.Context, err error, errKind ...interface{}) {
logger.LogIf(ctx, "iam", err, errKind...)
}
func iamLogEvent(ctx context.Context, msg string, args ...interface{}) {
logger.Event(ctx, "iam", msg, args...)
}
func rebalanceLogIf(ctx context.Context, err error, errKind ...interface{}) {
logger.LogIf(ctx, "rebalance", err, errKind...)
}