Decreased log4j version to 1.12.14, added exception handling to message formatter