[cli/core] Add some more logging

This commit is contained in:
derrod 2020-05-01 19:57:42 +02:00
parent 20a477d20f
commit 261d0c636f
2 changed files with 2 additions and 0 deletions

View file

@ -272,6 +272,7 @@ class LegendaryCLI:
else: else:
base_game = None base_game = None
logger.info('Preparing download...')
# todo use status queue to print progress from CLI # todo use status queue to print progress from CLI
dlm, analysis, igame = self.core.prepare_download(game=game, base_game=base_game, base_path=args.base_path, dlm, analysis, igame = self.core.prepare_download(game=game, base_game=base_game, base_path=args.base_path,
force=args.force, max_shm=args.shared_memory, force=args.force, max_shm=args.shared_memory,

View file

@ -387,6 +387,7 @@ class LegendaryCore:
new_manifest_data, _base_urls = self.get_cdn_manifest(game, platform_override) new_manifest_data, _base_urls = self.get_cdn_manifest(game, platform_override)
base_urls.extend(i for i in _base_urls if i not in base_urls) base_urls.extend(i for i in _base_urls if i not in base_urls)
self.log.info('Parsing game manifest...')
new_manifest = self.load_manfiest(new_manifest_data) new_manifest = self.load_manfiest(new_manifest_data)
self.log.debug(f'Base urls: {base_urls}') self.log.debug(f'Base urls: {base_urls}')
self.lgd.save_manifest(game.app_name, new_manifest_data) self.lgd.save_manifest(game.app_name, new_manifest_data)