While trying to execute the following lines only the last two statements are displayed(\"Here is some ERROR\" and \"Here is some FATAL\") and the first three statements are
Put a file named log4j.xml into your classpath. Contents are e.g.
log4j.xml