The same question someone reported on Stack Overflow as well.
https://stackoverflow.com/questions/73937110/upgrading-logback-from-1-2-to-1-3-stops-logging