Added log4j.xml for both examples.