- Add setup_logging() returning a named 'qbit-maid' logger with
RotatingFileHandler (configurable size/backups) and a console handler
- Add log_torrent() helper for structured torrent context
- Replace basicConfig-based tor_log() with setup_logging()
- Remove redundant 'if self.use_log:' guards across qbit-maid.py,
qlist.py, qprocess.py, qlogging.py (level filtering handles it)
- Document new logging options in config.toml.example and README
jblu
merged commit ebec893a85 into main2026-10-27 00:31:29 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Implements the logging improvement plan.
Changes
setup_logging()returning a namedqbit-maidlogger with aRotatingFileHandler(configurable size/backups) and a console handlerlog_torrent()helper for structured torrent contextbasicConfig-basedtor_log()withsetup_logging()if self.use_log:guards acrossqbit-maid.py,qlist.py,qprocess.py,qlogging.pyconfig.toml.exampleandREADME.mdVerification