use log4j configureAndWatch

@ed2k Thanks for submitting a PR.  FYI this code doesn't compile.