Not sure I am following you. This is approach 1 which is easiest and most maintainable IMHO and the approach I use when upgrading portlets from log4j to logback.