Fixing a potential issue with the previous commit (#10629) -- we shouldn't be basing this on JobHost settings. This means a customer may get a flood of logs if they have this enabled today via host.json (which some do). Simplifying to only rely on dev environment setting.
Pull request checklist
IMPORTANT: Currently, changes must be backported to the in-proc branch to be included in Core Tools and non-Flex deployments.
[x] Backporting to the in-proc branch is not required
Otherwise: Link to backporting PR
[x] My changes do not require documentation changes
[ ] Otherwise: Documentation issue linked to PR
[x] My changes should not be added to the release notes for the next release
[ ] Otherwise: I've added my notes to release_notes.md
[x] My changes do not need to be backported to a previous version
[ ] Otherwise: Backport tracked by issue/PR #issue_or_pr
[x] My changes do not require diagnostic events changes
Otherwise: I have added/updated all related diagnostic events and their documentation (Documentation issue linked to PR)
[x] I have added all required tests (Unit tests, E2E tests)
Fixing a potential issue with the previous commit (#10629) -- we shouldn't be basing this on JobHost settings. This means a customer may get a flood of logs if they have this enabled today via host.json (which some do). Simplifying to only rely on dev environment setting.
Pull request checklist
IMPORTANT: Currently, changes must be backported to the
in-proc
branch to be included in Core Tools and non-Flex deployments.in-proc
branch is not requiredrelease_notes.md