diff --git a/conservancy_beancount/tools/audit_report.py b/conservancy_beancount/tools/audit_report.py index 78240dd..0463f38 100644 --- a/conservancy_beancount/tools/audit_report.py +++ b/conservancy_beancount/tools/audit_report.py @@ -151,7 +151,9 @@ def main(arglist: Optional[Sequence[str]]=None, cliutil.set_loglevel(logger, args.loglevel) if args.verbose: logger.setLevel(logging.DEBUG) - logging.getLogger('conservancy_beancount.reports').setLevel(logging.DEBUG) + reports_logger = logging.getLogger('conservancy_beancount.reports') + reports_logger.setLevel(logging.DEBUG) + reports_logger.getChild('rewrite').setLevel(args.loglevel) fy = config.fiscal_year_begin() today = datetime.date.today()