Commit df613f16 by xuxueli

更新RM

parent e3cce634
......@@ -115,12 +115,13 @@ public class XxlJobFileAppender {
appendLog += "\r\n";
// append file content
try {
FileOutputStream fos = null;
try {
fos = new FileOutputStream(logFile, true);
fos.write(appendLog.getBytes("utf-8"));
fos.flush();
} catch (Exception e) {
logger.error(e.getMessage(), e);
} finally {
if (fos != null) {
try {
......@@ -130,9 +131,6 @@ public class XxlJobFileAppender {
}
}
}
} catch (Exception e) {
logger.error(e.getMessage(), e);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment