{"meta":{"title":"Accessing logs for CodeQL in Visual Studio Code","intro":"If you need to troubleshoot problems with CodeQL for Visual Studio Code, there are several logs you can access.","product":"Security and code quality","breadcrumbs":[{"href":"/en/code-security","title":"Security and code quality"},{"href":"/en/code-security/how-tos","title":"How-tos"},{"href":"/en/code-security/how-tos/find-and-fix-code-vulnerabilities","title":"Find and fix code vulnerabilities"},{"href":"/en/code-security/how-tos/find-and-fix-code-vulnerabilities/scan-from-vs-code","title":"Scan from VS Code"},{"href":"/en/code-security/how-tos/find-and-fix-code-vulnerabilities/scan-from-vs-code/accessing-logs","title":"Access logs"}],"documentType":"article"},"body":"# Accessing logs for CodeQL in Visual Studio Code\n\nIf you need to troubleshoot problems with CodeQL for Visual Studio Code, there are several logs you can access.\n\n1. In Visual Studio Code, open the \"Output\" window.\n\n2. Use the dropdown to select the log view you need. For example, \"CodeQL Extension Log\".\n\n   ![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)"}