modify log4j and jmxtrans configs