Qiao-yq opened a new pull request, #3335:
URL: https://github.com/apache/dubbo-go/pull/3335

   ### Description
   Standardize log format across config_center and filter directories with 
unified prefixes, consistent key naming, and proper format specifiers.
   ### Changes
   1. Unified two-level prefix [Parent][Child]
   2. Fixed buggy logger calls
   logger.Error(err) / logger.Warn(err) without descriptive messages → 
logger.Errorf / logger.Warnf with context
   logger.Warnf missing format args → logger.Warn
   *f(fmt.Sprintf(...)) → direct *f call
   3. Standardized key names and separators
   Colon-space : → comma-space ,
   Removed unnecessary wrapping like {%v}, {%s}
   4. Cleaned up formatting issues
   Removed decorative characters (---, !, ...)
   Removed \n newlines from log messages
   Flattened multi-line log statements to single-line key=value pairs
   
   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]

Reply via email to