更新RM
This commit is contained in:
parent
e3cce6341b
commit
df613f163c
|
@ -115,12 +115,13 @@ public class XxlJobFileAppender {
|
||||||
appendLog += "\r\n";
|
appendLog += "\r\n";
|
||||||
|
|
||||||
// append file content
|
// append file content
|
||||||
try {
|
|
||||||
FileOutputStream fos = null;
|
FileOutputStream fos = null;
|
||||||
try {
|
try {
|
||||||
fos = new FileOutputStream(logFile, true);
|
fos = new FileOutputStream(logFile, true);
|
||||||
fos.write(appendLog.getBytes("utf-8"));
|
fos.write(appendLog.getBytes("utf-8"));
|
||||||
fos.flush();
|
fos.flush();
|
||||||
|
} catch (Exception e) {
|
||||||
|
logger.error(e.getMessage(), e);
|
||||||
} finally {
|
} finally {
|
||||||
if (fos != null) {
|
if (fos != null) {
|
||||||
try {
|
try {
|
||||||
|
@ -130,9 +131,6 @@ public class XxlJobFileAppender {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
|
||||||
logger.error(e.getMessage(), e);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue