Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restrict Logger.configure on config_change callback (#10388)
The `config_change` callback is called from `application_controller` process, which is receiving env updates on releases. `Logger.configure` does a blocking call to the `Logger` process, which calls `Application.put_env` This causes a crash on logger config update. The fix is to call `Logger.configure` only for the config that have not yet been persisted.
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters