Added try/catch block in ingestion code.
Added log4j properties.