Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Winston Logger has stopped logging in Debug console ( NodeJS ) #34702

Closed
prem911 opened this issue Sep 20, 2017 · 4 comments
Closed

Winston Logger has stopped logging in Debug console ( NodeJS ) #34702

prem911 opened this issue Sep 20, 2017 · 4 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s)

Comments

@prem911
Copy link

prem911 commented Sep 20, 2017

  • VSCode Version: 1.16.1
  • OS Version: Win 10 64bit

Steps to Reproduce:

  1. For a NodeJS app which uses Winston logger, start it in debug mode
  2. None of the winston log messages appear in the Debug console.
  3. This used to work till the June drop.

Reproduces without extensions: Yes

@vscodebot vscodebot bot added the debug Debug viewlet, configurations, breakpoints, adapter issues label Sep 20, 2017
@isidorn
Copy link
Contributor

isidorn commented Sep 20, 2017

Please provide a repository which uses this logger you mention.
What node version do you have? Can you share your launch.configuraitons

thanks

@isidorn isidorn added info-needed Issue requires more information from poster and removed new release labels Sep 20, 2017
@prem911
Copy link
Author

prem911 commented Sep 20, 2017

@isidorn Here is the information required.
My NodeJS version is 8.1.4
Repo is https://github.com/prem911/winstonSample
launch.json is part of the source code.

npm start will show the winston log statement.
When we debug the program, we dont see the log statement.

@isidorn isidorn assigned roblourens and unassigned isidorn Sep 21, 2017
@isidorn isidorn removed the info-needed Issue requires more information from poster label Sep 21, 2017
@prem911
Copy link
Author

prem911 commented Sep 21, 2017

Some more info : I tried with bunyan and pino, the other popular loggers for NodeJS.
These are also not working.

@roblourens
Copy link
Member

#19750

This logger writes directly to stdout. You can set "console": "integratedTerminal", or use the Insiders build and set the new option "outputCapture": "std".

@roblourens roblourens added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 21, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants