Should not send log files to $HOME/.config/Code
See original GitHub issueDescribe the bug
This extension pollutes ~/.config folder with a whole bunch of aws_toolkit_*.log files.
My ~/.config folder is version controlled. I could add **/*.log to .gitignore, but that’s just a preventive approach. No extension, or any other code/app/service should write log files to ~/.config.
To Reproduce
Use the extension for a while.
Expected behavior
As a best practice it should send the logs to a log folder.
Screenshots

Desktop (please complete the following information):
AWS Toolkit for VSCode: v1.24.0
Version: 1.55.2 (system setup) Commit: 3c4e3df9e89829dce27b7b5c24508306b151f30d Date: 2021-04-13T09:35:57.887Z Electron: 11.3.0 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Windows_NT x64 10.0.19042
Additional context
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)

Top Related StackOverflow Question
Toolkit 1.25 stores logs in
globalStoragePath, which should implicitly store data in a reasonable place (and not~/.config).%APPDATA%aligns with typical interpretation of the XDG standard on Windows.I think this issue would be fixed by https://github.com/aws/aws-toolkit-vscode/issues/582