logger: Fix simple logger to work when init process is busy
When wanting to log during system shutdown, the init process is not always available to load new modules. So we need to make sure that the simple logger can handle the fact that it cannot load the correct formatting modules.
This PR needs #5954 in order to test that the fix works.
CT Test Results
6 files 273 suites 2h 19m 51s :stopwatch: 4 510 tests 4 275 :heavy_check_mark: 230 :zzz: 5 :x: 5 447 runs 5 148 :heavy_check_mark: 294 :zzz: 5 :x:
For more details on these failures, see this check.
Results for commit 44a998b6.
:recycle: This comment has been updated with latest results.
To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.
See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.
Artifacts
// Erlang/OTP Github Action Bot