Skip to main content
Kofax

How to enable Debug logging for the Chromium Embedded Framework (CEF) Browser

3014636

Question / Problem: 

Debug logs are sometimes needed for robots using the Chromium Embedded Framework (CEF) browser to track down execution problems.

Answer / Solution: 

To enable debug logging for CEF follow the steps below:

 

  1. Navigate to the Kapow Installation folder
    by default, for versions 10.3 and earlier: C:\Program Files\Kapow <version>\
    for versions 10.4 and later: C:\Program Files\Kofax RPA <version>\
  2. go into \nativelib\hub\windows-x32\<id>\node_modules\cef
  3. open cef.cfg in a text editor (you will need to be able to save changes)
  4. add the following two lines at the end

    chrome:log-file = C:\Temp\debugCEF_10322.log
    chrome:log-severity = verbose


    Note: log-file can be different, but the folder has to already exist.
  5. Save cef.cfg (Changes will be reflected the next time CEF runs. e.g. the next CEF robot run).
  6. Re-run the robot

 

Applies to:  

Product Version
RPA 10.3 and Later

 

 

  • Was this article helpful?