Bunyan logger cannot send logs back to app insights
See original GitHub issueHello. I’m using bunyan logger in a project and the documentation said that:
Note that by default setAutoCollectConsole is configured to exclude calls to console.log (and other console methods). By default, only calls to supported third-party loggers (e.g. winston, bunyan) will be collected. You can change this behavior to include calls to console methods by using setAutoCollectConsole(true, true).
But I bunyan logger cannot sent log back to app insights. Do you have any documentation about that? Thank you so much.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Bunyan logger cannot send logs back to app insights #338
Hello. I'm using bunyan logger in a project and the documentation said that: Note that by default setAutoCollectConsole is configured to ...
Read more >Transfer logs from Android to App Center or Application Insights
In my Node. js backend logs from Bunyan even are collected automatically by Application Insights by means of a monkey patch applied to...
Read more >Application Insights SDK for Node.js part 4 : Out of box ...
js logging library. I installed bunyan and added logger and log information in "ordersfail" endpoint. var bunyan = require ...
Read more >Monitor your Node.js services and apps with Application Insights
Monitor performance and diagnose problems in Node.js services with Application Insights.
Read more >Cloud Logging for Bunyan - Node.js client library
Create a Bunyan logger that streams to Cloud Logging ... Any application logs emitted on behalf of a specific request will be shown...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Also check the version of the dependency you are trying to integrate. See more here https://github.com/Microsoft/node-diagnostic-channel/blob/master/src/diagnostic-channel-publishers/README.md
It turns out that the sequence of require app insights and bunyan matters.
This solve my problem.