|
|
|
@ -78,7 +78,8 @@ public class ErrorInfoLogAppender extends AppenderSkeleton {
|
|
|
|
|
|
|
|
|
|
private String readLogID(String log) { |
|
|
|
|
String errorCode = Inter.getLocText("FR-Engine_ErrorCode-Prefix"); |
|
|
|
|
String[] matchs = log.split(errorCode + ".*?:"); |
|
|
|
|
// 报错信息国际化不规范, 有些是中文分号, 有些是英文
|
|
|
|
|
String[] matchs = log.split(errorCode + ".*?[:,:]"); |
|
|
|
|
if (matchs.length <= 1) { |
|
|
|
|
return StringUtils.EMPTY; |
|
|
|
|
} |
|
|
|
|