audit_report: Exclude rewrite logs from verbose display.
This commit is contained in:
parent
7281cf0f01
commit
8c81eceb2c
1 changed files with 3 additions and 1 deletions
|
@ -151,7 +151,9 @@ def main(arglist: Optional[Sequence[str]]=None,
|
||||||
cliutil.set_loglevel(logger, args.loglevel)
|
cliutil.set_loglevel(logger, args.loglevel)
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
logger.setLevel(logging.DEBUG)
|
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()
|
fy = config.fiscal_year_begin()
|
||||||
today = datetime.date.today()
|
today = datetime.date.today()
|
||||||
|
|
Loading…
Reference in a new issue