You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched all issues to ensure it has not already been reported.
Summary
Would be great if vscode-powershell could rotate its own log files, as in delete logs older than X days. Maybe a sane default would be 30 days, with a overridable setting in settings.json? Or only keep X latest logs no matter date and time, maybe 20?
Olav Rønnestad Birkeland (@o-l-a-v) the logs now rotate with VSCode. VSCode keeps the last 10 startup logs, you can use Open Extension Logs Folder command to access them quickly, and the powershell version has also been remapped to the specific powershell folder.
Activity
[-]Log rotation[/-][+]`vscode-powershell` logs rotation[/+]JustinGrote commentedon Nov 1, 2024
I'm currently updating the logging to use the LogOutputChannel, which does automatic rotation.
#5065
andyleejordan commentedon Nov 4, 2024
Until then, they can be completely disabled so as to write no files. There's a setting somewhere, I definitely remember implementing that.
JustinGrote commentedon Nov 16, 2024
Olav Rønnestad Birkeland (@o-l-a-v) the logs now rotate with VSCode. VSCode keeps the last 10 startup logs, you can use
Open Extension Logs Foldercommand to access them quickly, and the powershell version has also been remapped to the specific powershell folder.Thanks for your suggestion!