Skip to content

Commit

Permalink
Merge branch 'dev-1.1.15-webank-streamis-fix-gc-log-bug' into dev-1.1…
Browse files Browse the repository at this point in the history
….16-webank
  • Loading branch information
Alexkun committed Oct 19, 2023
2 parents f19fe29 + a75b7ce commit bbfe9cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ object FlinkValueFormatUtil {
var replaceStr1 = ""
var replaceStr2 = ""
if (xloggcValueStr1.nonEmpty && xloggcValueStr2.nonEmpty) {
escapedXloggcValue = xloggcValueStr2.replace("<", "\\<").replace(">", "\\>")
escapedXloggcValue = xloggcValueStr2.replace("\\<", "<").replace("\\>", ">")
replaceStr1 = defaultJavaOpts.replace(xloggcValueStr1, escapedXloggcValue)
replaceStr2 = envJavaOpts.replace(xloggcValueStr2, "")
}
if (xloggcValueStr1.nonEmpty && xloggcValueStr2.isEmpty) {
escapedXloggcValue = xloggcValueStr1.replace("<", "\\<").replace(">", "\\>")
escapedXloggcValue = xloggcValueStr1.replace("\\<", "<").replace("\\>", ">")
replaceStr1 = defaultJavaOpts.replace(xloggcValueStr1, escapedXloggcValue)
replaceStr2 = envJavaOpts
}
Expand Down

0 comments on commit bbfe9cb

Please sign in to comment.