Azure / Azure/azure-functions-host

Linux: Unhandled exceptions may not log to system logs

Open
#5,856 2 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

platform:linux
Dominant language
C#
Stars
2k
Forks
483
Avg merge
2d 10h
Merged PRs (30d)
36

Description

Linux (dedicated -- and maybe consumption?) will flush the last 10 seconds of stdout to the system logs for debugging any unhandled exceptions that we may have missed. We've seen cases where this doesn't seem to work -- perhaps b/c the host shutdown took too long -- and it means we don't have any logs to indicate the issue. Customers do seem to get these logs in App Insights.

Need to see if we can improve this to ensure we get logs when things go down due to an unhandled exception.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.