Skip to content

Commit

Permalink
Let write() do it's writing
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolf committed Dec 3, 2021
1 parent ed0e08b commit 69f5778
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ export class ToolingLogTextWriter implements Writer {
if (msg.type === 'write') {
const txt = format(msg.args[0], ...msg.args.slice(1));
// Ensure that Elasticsearch deprecation log messages from Kibana aren't ignored
if (/\[deprecation\]\[elasticsearch\]/.test(txt)) {
return true;
} else {
if (!/\[deprecation\]\[elasticsearch\]/.test(txt)) {
return false;
}
} else {
Expand Down

0 comments on commit 69f5778

Please sign in to comment.