feat(logging): enhance CleanerService logging granularity for better debugging
- Add detailed step-by-step logging in navigation phase with elapsed time tracking - Enhance query interface setup with individual step logging and timing - Improve order query and result collection with validation logging - Add comprehensive processDetailPage logging with 8 tracked steps - Detail material processing loop with decision tracking (delete/skip reasons) - Enhance retry mechanism with per-attempt logging and success rate tracking - Add performance monitoring with slow operation detection (isSlow flags) - All logs use consistent Chinese labeling with [Phase] prefix format Total: +437 lines of logging instrumentation across cleaner.ts
This commit is contained in:
@@ -15,7 +15,7 @@ import {
|
||||
type GetObjectCommandInput,
|
||||
type DeleteObjectCommandInput
|
||||
} from '@aws-sdk/client-s3'
|
||||
import { createLogger, run, trackDuration } from '../logger'
|
||||
import { createLogger, run, trackDuration, PerformanceTracker } from '../logger'
|
||||
import type { RustfsConfig } from '../../types/config.schema'
|
||||
import * as fs from 'fs'
|
||||
import * as path from 'path'
|
||||
|
||||
Reference in New Issue
Block a user