Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubleshooting.md has outdated info on log location #4774

Open
6 tasks done
o-l-a-v opened this issue Oct 6, 2023 · 1 comment
Open
6 tasks done

Troubleshooting.md has outdated info on log location #4774

o-l-a-v opened this issue Oct 6, 2023 · 1 comment
Labels
Area-Documentation Issue-Bug A bug to squash. Up for Grabs Will shepherd PRs.

Comments

@o-l-a-v
Copy link

o-l-a-v commented Oct 6, 2023

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

Troubleshooting.md#logs says following is the log location:

Logs are located at ~/.vscode[-insiders]/extensions/ms-vscode.powershell[-preview]-/logs. For example: ~/.vscode/extensions/ms-vscode.powershell-2019.5.1/logs

I found no logs directory at this location (%USERPROFILE%\.vscode\extensions\ms-vscode.powershell-2023.6.0 in my scenario).

I then ran the PowerShell: Open PowerShell Extension Logs Folder command, and found that logs are located at:

  • %APPDATA%\Code\User\globalStorage\ms-vscode.powershell\logs\<new_directory_for_each_session\

PowerShell Version

Name                           Value
----                           -----
PSVersion                      7.3.7
PSEdition                      Core
GitCommitId                    7.3.7
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visual Studio Code Version

1.83.0
e7e037083ff4455cf320e344325dacb480062c3c
x64

Extension Version

ms-vscode.powershell@2023.6.0

Steps to Reproduce

Look for vscode-powershell logs.

Visuals

No response

Logs

No response

@o-l-a-v o-l-a-v added the Issue-Bug A bug to squash. label Oct 6, 2023
@andyleejordan
Copy link
Member

Oh yeah I think they were moved to a VS Code provided location for extension storage...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Documentation Issue-Bug A bug to squash. Up for Grabs Will shepherd PRs.
Projects
None yet
Development

No branches or pull requests

2 participants