Skip to main content

This version of GitHub Enterprise Server will be discontinued on 2024-06-29. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

Accessing logs

If you need to troubleshoot problems with CodeQL for Visual Studio Code, there are several logs you can access.

About logs

Progress and error messages are displayed as notifications in the bottom right corner of the Visual Studio Code workspace. These link to more detailed logs and error messages in the "Output" window.

You can access the following logs:

  • CodeQL Extension

  • CodeQL Language Server

  • CodeQL Query Server

  • CodeQL Tests

Note: The CodeQL Language Server log contains more advanced debug logs for CodeQL language maintainers. You should only need these to provide details in a bug report.

Accessing logs

  1. In Visual Studio Code, open the "Output" window.

  2. Use the dropdown to select the log view you need. For example, "CodeQL Extension Log".

    Screenshot of the "Output" window in VS Code (as highlighted in dark orange). The dropdown is also highlighted, with "CodeQL Extension Log" selected.