Change operational log messages from Debug to Info

This commit is contained in:
2025-12-17 15:02:46 -08:00
부모 45201509ff
커밋 e6cb906d35
4개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제

파일 보기

@@ -59,7 +59,7 @@ func (mfa *CLIApp) checkManifestOperation(ctx *cli.Context) error {
basePath := ctx.String("base")
showProgress := ctx.Bool("progress")
log.Debugf("checking manifest %s with base %s", manifestPath, basePath)
log.Infof("checking manifest %s with base %s", manifestPath, basePath)
// Create checker
chk, err := checker.NewChecker(manifestPath, basePath, mfa.Fs)
@@ -67,7 +67,7 @@ func (mfa *CLIApp) checkManifestOperation(ctx *cli.Context) error {
return fmt.Errorf("failed to load manifest: %w", err)
}
log.Debugf("manifest contains %d files, %d bytes", chk.FileCount(), chk.TotalBytes())
log.Infof("manifest contains %d files, %d bytes", chk.FileCount(), chk.TotalBytes())
// Set up results channel
results := make(chan checker.Result, 1)

파일 보기

@@ -74,7 +74,7 @@ func (mfa *CLIApp) freshenManifestOperation(ctx *cli.Context) error {
}
existingFiles := manifest.Files()
log.Debugf("manifest contains %d files", len(existingFiles))
log.Infof("manifest contains %d files", len(existingFiles))
// Build map of existing entries by path
existingByPath := make(map[string]*mfer.MFFilePath, len(existingFiles))
@@ -197,7 +197,7 @@ func (mfa *CLIApp) freshenManifestOperation(ctx *cli.Context) error {
removed = int64(len(existingByPath))
scanDuration := time.Since(startScan)
log.Debugf("scan complete in %s: %d unchanged, %d changed, %d added, %d removed",
log.Infof("scan complete in %s: %d unchanged, %d changed, %d added, %d removed",
scanDuration.Round(time.Millisecond), unchanged, changed, added, removed)
// Calculate total bytes to hash

파일 보기

@@ -66,7 +66,7 @@ func (mfa *CLIApp) generateManifestOperation(ctx *cli.Context) error {
}
enumWg.Wait()
log.Debugf("enumerated %d files, %d bytes total", s.FileCount(), s.TotalBytes())
log.Infof("enumerated %d files, %d bytes total", s.FileCount(), s.TotalBytes())
// Check if output file exists
outputPath := ctx.String("output")

파일 보기

@@ -45,7 +45,7 @@ func (m *manifest) deserializeInner() error {
return err
}
log.Debugf("loaded manifest with %d files", len(m.pbInner.Files))
log.Infof("loaded manifest with %d files", len(m.pbInner.Files))
return nil
}