question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Should not send log files to $HOME/.config/Code

See original GitHub issue

Describe 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

image

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:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
justinmk3commented, May 10, 2021

Toolkit 1.25 stores logs in globalStoragePath , which should implicitly store data in a reasonable place (and not ~/.config).

0reactions
justinmk3commented, Apr 30, 2021

%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

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode is crashing on Linux on Startup #119689 - GitHub
Possible causes include: the remote application did not send a reply, ... [File Watcher (node.js)] [ADDED] /home/coelho/.config/Code/logs/ ...
Read more >
Why is the log4net config file code causing my C# Windows ...
config code, the service starts but the logging doesn't happen always. public class Logger { public static void Setup() { Hierarchy hierarchy ...
Read more >
FAQ - code-server v4.8.0 docs - Coder
Frequently asked questions on installing and running code-server.
Read more >
User and Workspace Settings - Visual Studio Code
Once the file is open in an editor, delete everything between the two curly braces {} , save the file, and VS Code...
Read more >
Configuration - VMware Docs
Configuration troubleshooting: how to find config file location and inspect and verify effective configuration; Environment variables; Operating system (kernel) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found