Fix a couple of ParameterizedMessage mistakes

Original commit: elastic/x-pack-elasticsearch@0006755c8b
This commit is contained in:
David Roberts 2016-12-08 16:56:49 +00:00
parent 8fa17f7ea8
commit 3f460b030e
1 changed files with 2 additions and 2 deletions

View File

@ -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);
} }
} }
} }