Fix a couple of ParameterizedMessage mistakes
Original commit: elastic/x-pack-elasticsearch@0006755c8b
This commit is contained in:
parent
8fa17f7ea8
commit
3f460b030e
|
@ -196,9 +196,9 @@ public class CppLogMessageHandler implements Closeable {
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
if (jobId != null) {
|
if (jobId != null) {
|
||||||
LOGGER.warn(new ParameterizedMessage("[{}] Failed to parse C++ log message: {}",
|
LOGGER.warn(new ParameterizedMessage("[{}] Failed to parse C++ log message: {}",
|
||||||
new Object[] {jobId, bytesRef.utf8ToString()}, e));
|
new Object[] {jobId, bytesRef.utf8ToString()}), e);
|
||||||
} else {
|
} else {
|
||||||
LOGGER.warn(new ParameterizedMessage("Failed to parse C++ log message: {}", new Object[] {bytesRef.utf8ToString()}, e));
|
LOGGER.warn(new ParameterizedMessage("Failed to parse C++ log message: {}", new Object[] {bytesRef.utf8ToString()}), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue