MJ X
MJ X

Reputation: 9044

Do you recommend using loggers like bunyan or morgan for application hosted on Azure App Services

I have Node.JS Application and I implemented Morgan and Bunyan logger in my application.

later on I published my application on Azure App services, Azure app services has Application Insights and log feature where it logs all the errors on my application and provides details about status of my application API calls ...etc. now I want to know do we still need to add loggers in our application, what do you suggest. Thanks.

Upvotes: 1

Views: 1107

Answers (2)

2d1b
2d1b

Reputation: 625

If you're planning on deploying Node.js code on Azure I would recommend taking a look at a standard approach using Application Insights for your logging needs : more info here

Unless you want to be cloud agnostic to eventually deploy on other cloud providers I would stick with standard approches and not add additional modules/layers.

Upvotes: 3

Stanley Gong
Stanley Gong

Reputation: 12153

Yes,as far as I know you can use Bunyan as a logger in your node.js application and use Azure storage to store logs.

This blog talked it well. Azure web sites mentioned in this blog is Azure App Services' earlier name.

Upvotes: 1

Related Questions