There’s also a etc/org.ops4j.pax.logging.cfg file that should only contain the line:
org.ops4j.pax.logging.log4j2.config.file=${karaf.etc}/log4j2.xml
If you have rejected during the upgrade the suggested changes to that file by the package manager, then you may have also broken your logging configuration.