How about LogMF or LogSF in Log4j's own "Extras" companion?
http://logging.apache.org/log4j/companions/extras/index.html
http://logging.apache.org/log4j/companions/extras/apidocs/org/apache/log4j/LogMF.html
http://logging.apache.org/log4j/companions/extras/apidocs/org/apache/log4j/LogSF.html
You can use per-instance loggers and name you loggers as...
private Logger logger;
JdbcFacade(String instanceNameQualifier) {
this.logger = this.getClass().getName() + istanceNameQualifier;
}
instanceNameQualifier might be "A" or "B" or whether else you want it to be.
Jake
Robert Pepersac