vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Strange "Failed to read file C:\ProgramData\ssh\ssh_config." in logging

Open sean-mcmanus opened this issue 3 years ago • 2 comments

What is this error? Can we get rid of it?

sean-mcmanus avatar Sep 20 '22 08:09 sean-mcmanus

I believe it was added by @xisui-MSFT sshHost.ts is calling getOutputChannelLogger directly instead of going through the logger. @xisui-MSFT can you please change these to debug messages?

bobbrow avatar Sep 20 '22 20:09 bobbrow

Sorry, I was thinking about how CMake Tools does logging. In cpptools, you should check the value of the c_cpp.loggingLevel before logging to the output channel. These messages should only show if it's set to "Debug"

bobbrow avatar Sep 20 '22 20:09 bobbrow