Remove log4j2 database logging checks
Since we're looking at removing database logging, this no longer makes sense.
Also improve log4j2 error handling for missing elements.
Since we're looking at removing database logging, this no longer makes sense.
Also improve log4j2 error handling for missing elements.