remove log4j and add sql