Fix up logging issues.

Review Request #14779 — Created Jan. 12, 2026 and submitted

Information

RBTools
master

Reviewers

This change fixes up a variety of issues with our logging code:

  • Many places were logging to the root logger instead of named loggers.
  • Commands had a mix of root loggers and named loggers but they should
    all have been using self.log instead.
  • A few places were formatting strings before the logging call, rather
    than passing them in as arguments.
  • Ran unit tests.
  • Verified that code updated to use self.log showed output
    appropriately.
Summary ID
Fix up logging issues.
This change fixes up a variety of issues with our logging code: - Many places were logging to the root logger instead of named loggers. - Commands had a mix of root loggers and named loggers but they should all have been using `self.log` instead. - A few places were formatting strings before the logging call, rather than passing them in as arguments. Testing Done: - Ran unit tests. - Verified that code updated to use `self.log` showed output appropriately.
qkxzsntyzkqyozwxqnplwmtsktoryoqz
Description From Last Updated

Should we pull self.log out into a variable then use that here and below.

maubinmaubin

Same comment here about pulling self.log out into a variable.

maubinmaubin
maubin
  1. 
      
  2. rbtools/commands/install.py (Diff revision 1)
     
     
    Show all issues

    Should we pull self.log out into a variable then use that here and below.

  3. rbtools/commands/post.py (Diff revision 1)
     
     
    Show all issues

    Same comment here about pulling self.log out into a variable.

  4. 
      
david
maubin
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (2b7dd84)