make 2 top logs debug log (#629)

This commit is contained in:
Shuchang Zheng
2024-07-20 16:18:27 -07:00
committed by GitHub
parent 1ebd8a55e9
commit 3e8ac05f56

View File

@@ -41,7 +41,7 @@ class SkyvernFrame:
) -> bytes:
try:
await page.wait_for_load_state(timeout=SettingsManager.get_settings().BROWSER_LOADING_TIMEOUT_MS)
LOG.info("Page is fully loaded, agent is about to take screenshots")
LOG.debug("Page is fully loaded, agent is about to take screenshots")
start_time = time.time()
screenshot: bytes = bytes()
if file_path:
@@ -57,7 +57,7 @@ class SkyvernFrame:
animations="disabled",
)
end_time = time.time()
LOG.info(
LOG.debug(
"Screenshot taking time",
screenshot_time=end_time - start_time,
full_page=full_page,