use log4j and capsule