Save error log for JVM