Skip to content

Change default level to warning to avoid creating 100gb sized log files#55071

Merged
dibarbet merged 1 commit intodotnet:mainfrom
dibarbet:less_logs
Jul 23, 2021
Merged

Change default level to warning to avoid creating 100gb sized log files#55071
dibarbet merged 1 commit intodotnet:mainfrom
dibarbet:less_logs

Conversation

@dibarbet
Copy link
Copy Markdown
Member

The real fix is on the LSP client side to recycle live logs (while VS is open).
That is tracked here for next sprint - https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1359778/ (I would consider this a blocker for fully enabling lsp pull diagnostics)

However to avoid destroying my VS if I leave it on with pull diagnostics for a couple hours, I'm changing the default logging level.

I also abstracted out the loghub log creation code into a mef service as part 1 of #55060 (vs lsp client will be re-used in VSMac, so we need to move the AbstractInProcLanguageClient code down to editor features)

@dibarbet dibarbet added Area-IDE LSP issues related to the roslyn language server protocol implementation labels Jul 23, 2021
@dibarbet dibarbet requested a review from a team as a code owner July 23, 2021 03:52
@dibarbet dibarbet merged commit a8d8606 into dotnet:main Jul 23, 2021
@ghost ghost added this to the Next milestone Jul 23, 2021
@dibarbet dibarbet deleted the less_logs branch July 23, 2021 17:59
@allisonchou allisonchou modified the milestones: Next, 17.0.P3 Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE LSP issues related to the roslyn language server protocol implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants