From 3e8ac05f56360df8f9d28a31db1c2c4c31f619e7 Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Sat, 20 Jul 2024 16:18:27 -0700 Subject: [PATCH] make 2 top logs debug log (#629) --- skyvern/webeye/utils/page.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skyvern/webeye/utils/page.py b/skyvern/webeye/utils/page.py index fa18947b1..38316549e 100644 --- a/skyvern/webeye/utils/page.py +++ b/skyvern/webeye/utils/page.py @@ -41,7 +41,7 @@ async def take_screenshot( ) -> 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 @@ async def take_screenshot( animations="disabled", ) end_time = time.time() - LOG.info( + LOG.debug( "Screenshot taking time", screenshot_time=end_time - start_time, full_page=full_page,