kubeshop / vscode-monokle

An extension for Visual Studio Code to validate your Kubernetes configuration
https://marketplace.visualstudio.com/items?itemName=kubeshop.monokle
MIT License
6 stars 0 forks source link

Dump extension logs to a file #64

Open f1ames opened 9 months ago

f1ames commented 9 months ago

Since debugging the extension on someones machine may be problematic (or even asking to provide console logs), I was thinking it could be beneficial to write extension logs to a file additionally (maybe even without verbose flag on). Then when there is an issue with extension we can just ask to provide log dump (there could be a command to show it) and analyze it which could help with debugging/solving the issues which are hard to reproduce.

This should be done in a way to not impact extension performance and keep the log file at reasonable size, etc.