added return statements to metric exceptions, fixed ERROR appender in log4j.properties