hbenl / vscode-test-explorer

The VS Code Test Explorer extension
MIT License
215 stars 55 forks source link

Turning off verbose logs #147

Closed meelash closed 4 years ago

meelash commented 4 years ago

All of a sudden (not sure when the change happened), in the Test Explorer Output I'm getting very verbose logs. It's actually kinda nice for debugging, but I'd like to be able to turn it off, too. We're talking very verbose, so it is slowing down my machine! Can't figure out if it is a setting in test explorer or log4js, or some other package I'm using. Any help would be appreciated!

Examples: At first I thought it must be a setting that got switched on in knex.js: Screen Shot 2020-07-06 at 4 40 39 PM But, then I noticed nock also giving verbose logs: Screen Shot 2020-07-06 at 4 41 18 PM Even log4js seems to be spitting out it's own verbose debugging logs (rather meta to see the logs about the production of the log that's coming up!): Screen Shot 2020-07-06 at 4 42 06 PM

Any tips would be appreciated.

hbenl commented 4 years ago

The Test Explorer log simply shows all log messages that it receives from the Test Adapter for your testing framework, there are no "log levels" for these messages, so Test Explorer can't decrease verbosity, it can only show everything or nothing. So this needs to be fixed either in the Test Adapter (please open an issue there) or in your project's logging settings.