'How do I get the download log from the chrome driver?

I'm not sure how and where the logs for files received from the web are stored. Is there a location where the log for the download file is saved? Or how can I log files I received from the web? Thank you for reading this.

options = webdriver.ChromeOptions()
    options.add_argument("user-data-dir=\\test_profile")
    options.set_capability("loggingPrefs", {'performance': 'ALL'})
    
    service = ChromeService(executable_path=driver_path)

    driver = webdriver.Chrome(service=service, chrome_options=options)
    driver.implicitly_wait(3)
    driver.get(change_url)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source