Move the Bootstrap call inside the logging try block
Initialize logging earlier in Bootstrap.
Remove year-long-deprecated methods