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

Host Split: explicitly log settings and root path #9721

Closed
brettsam opened this issue Dec 4, 2023 · 1 comment · Fixed by #9747
Closed

Host Split: explicitly log settings and root path #9721

brettsam opened this issue Dec 4, 2023 · 1 comment · Fixed by #9747

Comments

@brettsam
Copy link
Member

brettsam commented Dec 4, 2023

We'll be rolling out an in-proc/out-of-proc host split in the near future. As we test this on individual stamps during the rollout, we'll need a concise log emitted from the host to let us know if anything appears wrong. This log should contain:

  • FUNCTIONS_WORKER_RUNTIME value
  • FUNCTIONS_EXTENSION_VERSION value
  • ASPNETCORE_IIS_PHYSICAL_PATH value
  • The contents of the ScmHostingConfiguration.txt file (which should already be available in IConfiguration.

This log should also have an explicit EventName so it's easy to query.

@brettsam
Copy link
Member Author

A couple extra notes:

  • may be able to just use GetCurrentDiretory() instead of the IIS_PHYSICAL_PATH
  • should output as json string
  • should include a boolean of whether we're in placeholder/standby mode or not

@mattchenderson mattchenderson added this to the Host split - Phase 1 milestone Jan 17, 2024
@mattchenderson mattchenderson added this to the Host split - Phase 1 milestone Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants