Qiao-yq opened a new pull request, #3311: URL: https://github.com/apache/dubbo-go/pull/3311
### Description refactor(cluster): standardize logger format across cluster modules This PR standardizes logger format for all cluster modules to improve log consistency and readability. The changes include: Adding component-specific prefixes to all log messages for better identification: [Broadcast], [Failback], [Failover], [Failsafe], [Forking], [Mock], [P2C], [Directory], [Router] with sub-prefixes, [Cluster], [AdaptiveSvc] Changing parameter format from colon-separated to structured key=value pairs Removing decorative characters (colons, commas, dots, newlines) for cleaner output Simplifying log messages and removing redundant parameters Using appropriate log methods (Info/Warn/Error for fixed strings, *f variants only when formatting needed) The refactoring covers all cluster sub-packages including cluster implementations, load balancing, directory management, routing modules, and base components. This standardization makes it easier to filter and analyze logs in production environments. Fixes #3295 ### Checklist - [x] I confirm the target branch is `develop` - [x] Code has passed local testing - [x] I have added tests that prove my fix is effective or that my feature works -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
