OpenFin logs

OpenFin maintains two distinct logs associated with the OpenFin platform:

  • Runtime Log | debug.log
  • RVM Log | rvm.log

These logs are beneficial when diagnosing unexpected behaviors with an application running in OpenFin.

Runtime Log

debug.log
Contains output log messages from both the Runtime and corresponding applications (unless configured not to) leveraging that Runtime version. The messages in these logs are a combination of Chromium, Electron, OpenFin and your applications console messages.

Default Location

Runtime Logs are located in:
%localappdata%\OpenFin\cache\<runtime version>\debug.log

📘

Runtime Logs with a Security Realm

Located in:
%localappdata%\OpenFin\cache\<security realm>*\<runtime version>\debug.log

Configuration

Available options for Runtime logs:

Lifecycle

Runtime debug logs are created on Runtime startup from an application launch. Log messages are written to the debug.log until that Runtime instance has been closed out. On Runtime close, the debug log file name is updated with a timestamp. The last 7 debug logs for that Runtime version are retained on the local file system.

RVM Log

rvm.log
Contains output log messages from the RVM. These messages consist of Network, OpenFin Environment and application start up. RVM logs can be useful in detecting environmental and desktop variables impacting an application during its start up sequence.

Default Location

RVM logs are located in:
%LocalAppData%\openfin\logs\rvm.log

Configuration

Available options for RVM logs

Lifecycle

RVM logs are created on an application launch. Log messages are written to the rvm.log until the RVM has been exited. This occurs when the last Runtime instance has been closed. On RVM close, the RVM log file is zipped and stored in the OpenFin\logs\archive\ folder with a timestamp. The last 10 RVM logs are retained on the local file system.

Application Logs

app.log Application logs are created on application startup and periodically written to log by the Runtime. In the RVM’s installation directory in the app’s subfolder. More Information

Default Location

Application logs can be found in
%LocalAppData%\openfin\apps\<app>\app.log.

Archived application logs can be found in
%LocalAppData%\openfin\apps\<app>\archive\.

Configuration

Available options for Application logs

Support Articles


Related topics
Did this page help you?