Enabling Application Logging requires app restart
Open
affected-very-few
area-networking
enhancement
feature-azure
investigate
severity-nice-to-have
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
For ASP.NET Core applications, enabling Application Logging does not take effect until the app is also restarted. As of site extension 2.1.1, changing the application log level does **not** require a restart (#226), but enabling application logging (at least for the very first time) **does** require a restart.
# Repro Steps
1. Create new App Service (via VS Publish or Azure Portal)
2. Publish app and send request
3. Enable "Application Logging (Filesystem)" with level "Verbose" in Azure Portal. Click save.
4. Send request. No app logs appear in "Log stream".
5. Restart app.
6. Logs appear in "Log stream".
Contributor guide
Assessment
This issue has not been assessed yet.