Skip to content

Commit

Permalink
Merge pull request #459 from huanghaoyuanhhy/set-log
Browse files Browse the repository at this point in the history
chore: lower log levels from info to debug
  • Loading branch information
Thomas-HuWei authored Nov 12, 2024
2 parents d67fa70 + a96d986 commit dc4f398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/backup_impl_create_backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -777,10 +777,10 @@ func (b *BackupContext) executeCreateBackup(ctx context.Context, request *backup

func (b *BackupContext) writeBackupInfoMeta(ctx context.Context, id string) error {
backupInfo := b.meta.GetFullMeta(id)
log.Info("Final backupInfo", zap.String("backupInfo", backupInfo.String()))
log.Debug("Final backupInfo", zap.String("backupInfo", backupInfo.String()))
output, _ := serialize(backupInfo)
log.Debug("backup meta", zap.String("value", string(output.BackupMetaBytes)))
log.Info("collection meta", zap.String("value", string(output.CollectionMetaBytes)))
log.Debug("collection meta", zap.String("value", string(output.CollectionMetaBytes)))
log.Debug("partition meta", zap.String("value", string(output.PartitionMetaBytes)))
log.Debug("segment meta", zap.String("value", string(output.SegmentMetaBytes)))

Expand Down

0 comments on commit dc4f398

Please sign in to comment.