From 9613ad34ba9567809db1aea631202a606fb758f5 Mon Sep 17 00:00:00 2001 From: derrod Date: Tue, 28 Apr 2020 15:56:52 +0200 Subject: [PATCH] [core] Log when manifest/base url is being overridden by the user --- legendary/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legendary/core.py b/legendary/core.py index 0a14f41..73eefce 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -321,6 +321,7 @@ class LegendaryCore: # load old manifest if we have one if override_old_manifest: + self.log.info(f'Overriding old manifest with "{override_old_manifest}"') if override_old_manifest.startswith('http'): r = self.egs.unauth_session.get(override_old_manifest) r.raise_for_status() @@ -337,6 +338,7 @@ class LegendaryCore: base_urls = list(game.base_urls) # copy list for manipulation if override_manifest: + self.log.info(f'Overriding manifest with "{override_manifest}"') if override_manifest.startswith('http'): r = self.egs.unauth_session.get(override_manifest) r.raise_for_status() @@ -374,6 +376,7 @@ class LegendaryCore: break if override_base_url: + self.log.info(f'Overriding base URL with "{override_base_url}"') base_urls = [override_base_url] self.log.debug(f'Base urls: {base_urls}')