shubhampatel28 opened a new pull request, #14357:
URL: https://github.com/apache/hudi/pull/14357

   ### Describe the issue this Pull Request addresses
   
   Issue: https://github.com/apache/hudi/issues/14356
   
   Reduce log volume by changing verbose INFO logs to DEBUG level in log 
scanning and file system view classes.
   
   ### Summary and Changelog
   
   - `BaseHoodieLogRecordReader.java`:
       - `INFO` → `DEBUG`: "Scanning log file", "Reading a data block", 
"Reading a delete block", "Reading a command block", rollback logs, "Merging 
the final data blocks", "Number of remaining logblocks to merge"
       - Added summary `INFO` log in finally block: "Finished scanning log 
files. Total log files: {}, Total log blocks: {}, Total rollbacks: {}, Total 
corrupt blocks: {}"
   
   - `SpillableMapBasedFileSystemView.java`:
       - Added `INFO` log in constructor with all memory config values
       - `INFO` → `DEBUG`: All individual map creation logs ("Creating 
Partition To File groups map", "Creating Pending Compaction map", etc.)
   
   - `BaseHoodieClient.java`:
       - `INFO` → `DEBUG`: "Timeline Server already running. Not restarting the 
service"
   
   - `TransactionManager.java`:
       - `INFO` → `DEBUG`: "Transaction manager closed"
   
   
   ### Impact
   
   Significantly reduces log noise in production environments while maintaining 
observability
   
   ### Risk Level
   
   Low - Only logging level changes, no functional changes.
   
   ### Documentation Update
   
   <!-- Describe any necessary documentation update if there is any new 
feature, config, or user-facing change. If not, put "none".
   
   - The config description must be updated if new configs are added or the 
default value of the configs are changed.
   - Any new feature or user-facing change requires updating the Hudi website. 
Please follow the 
     [instruction](https://hudi.apache.org/contribute/developer-setup#website) 
to make changes to the website. -->
   
   ### Contributor's checklist
   
   - [x] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [x] Enough context is provided in the sections above
   - [x] Adequate tests were added if applicable
   


-- 
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]

Reply via email to