View and export logs

View logs to troubleshoot issues and gather diagnostic information for support.

  1. In Visual Studio Code, select View > Output to open the Output panel.

  2. In the Output panel, open the log filter dropdown.

  3. Select P4 VS Code Log to view P4 VS Code related logs.

  4. To export logs, select Export Logs and save the log file.

The P4 VS Code logs are displayed and can be exported for sharing with support when needed.