AI Workbench creates various log files that can be helpful when debugging or trying to understand the state of your applications.
The log files are written to different locations depending on your host OS and configuration. Below, we assume you are using the default $HOME/<username>/.nvwb
working directory.
Remember, on Windows, the service runs in WSL. You can access the WSL distro’s file system from Windows File Explorer directly or open the distro in your terminal using:
wsl -d NVIDIA-Workbench
Server
macOS:
/Users/<username>/.nvwb/logs/workbench.log
Windows(WSL):
/home/workbench/.nvwb/logs/workbench.log
Linux:
/home/<username>/.nvwb/logs/workbench.log
CLI
macOS:
/Users/<username>/.nvwb/logs/nvwb.log
Windows(WSL):
/home/workbench/.nvwb/logs/nvwb.log
Linux:
/home/<username>/.nvwb/logs/nvwb.log
Desktop
macOS:
/Users/<username>/Library/Application Support/NVIDIA/AI Workbench/logs/main.log
Windows:
C:\Users\<username>\AppData\Local\NVIDIA Corporation\AI Workbench\logs\main.log
Linux:
/home/<username>/.config/NVIDIA/AI Workbench/main.log
Apps
The AI Workbench captures the output from each app run and saves it as a log file. This output is displayed in real-time in the Desktop app’s output widget, allowing users to easily monitor.
All log files generated by the AI Workbench are stored in the “Project Runtime Directory.” This directory contains files and data related to a project’s runtime state. In this directory, each Project will have a unique directory name. The directory name is based on the project name and a hash of the project’s file path to ensure that each project has a distinct and identifiable directory.
Inside the project’s directory in the runtime directory, each app output log is named <app name>_start.log
. This naming convention makes it easy to identify the log file for a specific app within the project.
The project runtime directory is located in the AI Workbench working directory:
macOS:
/Users/<username>/.nvwb/project-runtime-info
Windows(WSL):
/home/workbench/.nvwb/logs/project-runtime-info
Linux:
/home/<username>/.nvwb/logs/project-runtime-info
Remember, for remote locations the server, proxy, and app log files will be on the remote machine. The Desktop and CLI log files will be on your local machine.
Service and app log files are conveniently located in the Desktop app’s output widget. To view these logs:
Look for the output widget in the bottom left corner of the footer.
Click on the output widget to expand it.
Use the drop-down menu to select “Service” or the name of the app.
For other log files, you will need to access them manually. These logs are located in the locations specified above.
If on a remote system, you will need to SSH into that location to view the log files.