1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Files
docs/content/code-security/codeql-for-vs-code/troubleshooting-codeql-for-vs-code/accessing-logs.md
Ben Ahmady 78a8760cfa [17th April 2024] VS Code CodeQL content megabranch (#49056)
Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: James Fletcher <42464962+jf205@users.noreply.github.com>
Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com>
2024-04-17 13:32:24 +00:00

44 lines
1.6 KiB
Markdown

---
title: 'Accessing logs'
shortTitle: 'Access logs'
versions:
fpt: '*'
ghec: '*'
ghes: '*'
topics:
- Advanced Security
- Code scanning
- CodeQL
type: reference
intro: 'If you need to troubleshoot problems with {% data variables.product.prodname_codeql %} for {% data variables.product.prodname_vscode %}, there are several logs you can access.'
allowTitleToDifferFromFilename: true
---
## About logs
Progress and error messages are displayed as notifications in the bottom right corner of the {% data variables.product.prodname_vscode %} workspace. These link to more detailed logs and error messages in the "Output" window.
You can access the following logs:
- {% data variables.product.prodname_codeql %} Extension
- {% data variables.product.prodname_codeql %} Language Server
- {% data variables.product.prodname_codeql %} Query Server
- {% data variables.product.prodname_codeql %} Tests
{% note %}
**Note:** The {% data variables.product.prodname_codeql %} Language Server log contains more advanced debug logs for {% data variables.product.prodname_codeql %} language maintainers. You should only need these to provide details in a bug report.
{% endnote %}
## Accessing logs
1. In {% data variables.product.prodname_vscode %}, open the "Output" window.
1. Use the dropdown to select the log view you need. For example, "{% data variables.product.prodname_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.](/assets/images/help/security/codeql-for-vs-code-access-logs.png)