refactor: Simplify logback configuration handling in Upgrade class