kechap
kechap

Reputation: 2087

Logging from an azure console app as a web job

I am in search for a good way to log various messages while being able to use functions, logic, monitoring, etc to get notified or run a certain task to fix a problem and notify someone.

What I have in mind is something like "If a specific error happens send me a notification or restart a service"

What I currently already have is an app service that holds 10 web jobs(continuous, triggered). Two of them use the Azure Web job SDK and the rest of them are plain .net core console apps. All of them generate structured logs using serilog and are saved to blob storage.

Is there something I am missing? I don't want to reinvent the wheel here.

Upvotes: 0

Views: 681

Answers (1)

Ivan Glasenberg
Ivan Glasenberg

Reputation: 29940

You can use application insights with webjobs, more details are here.

You can also set an alert in application insights if error occurs, refer to this doc.

Any more questions please let me know.

Upvotes: 1

Related Questions