Fix `getLogger()` incompatibility in `log4j-1.2-api` (#3030)

2 files changed