Skip to content

Commit

Permalink
logging: fix calls to cli.setup_logging
Browse files Browse the repository at this point in the history
During the refactor that changed cli.setup_logging to no longer setup a
console logger, not all callsites were updated. This should fix the last
of them.
  • Loading branch information
orndorffgrant authored and renanrodrigo committed Aug 19, 2023
1 parent c04c147 commit 171caad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/patch_status_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def patch_status_json_schema_0_1(status_file: str):


if __name__ == "__main__":
setup_logging(logging.INFO, logging.DEBUG)
setup_logging(logging.DEBUG)
patch_status_json_schema_0_1(
status_file="/var/lib/ubuntu-advantage/status.json"
)
2 changes: 1 addition & 1 deletion lib/upgrade_lts_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from uaclient.config import UAConfig

if __name__ == "__main__":
setup_logging(logging.INFO, logging.DEBUG)
setup_logging(logging.DEBUG)
cfg = UAConfig()
http.configure_web_proxy(cfg.http_proxy, cfg.https_proxy)
upgrade_lts_contract.process_contract_delta_after_apt_lock(cfg)
Expand Down

0 comments on commit 171caad

Please sign in to comment.