shubhampatel28 opened a new issue, #14356:
URL: https://github.com/apache/hudi/issues/14356
### Task Description
**What needs to be done:**
Change verbose INFO logs to DEBUG level in the following classes:
1. `BaseHoodieLogRecordReader.java`:
- Change per-file logs ("Scanning log file") to DEBUG
- Change per-block logs ("Reading a data block", "Reading a delete
block", "Reading a command block") to DEBUG
- Change rollback logs to DEBUG
- Add a single summary INFO log in the finally block that reports
aggregate statistics (total log files, total blocks, total rollbacks, total
corrupt blocks)
2. `SpillableMapBasedFileSystemView.java`:
- Add a single INFO log in the constructor with all memory config values
- Change individual map creation logs ("Creating Partition To File
groups map", "Creating Pending Compaction map", etc.) to DEBUG
**Why this task is needed:**
Currently, these classes log at INFO level for every log file scanned and
every block read. In tables with many partitions or log files, this generates
excessive log volume that:
1. Makes it difficult to find important logs in production environments
2. Increases storage costs for log aggregation systems
3. Can impact performance due to I/O overhead
### Task Type
Code improvement/refactoring
### Related Issues
**Parent feature issue:** (if applicable )
**Related issues:**
NOTE: Use `Relationships` button to add parent/blocking issues after issue
is created.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]