Skip to content

Commit 34a147d

Browse files
committed
fix kibana sse dashboard, cleanup es integration-test log
Signed-off-by: neo <1100909+neowu@users.noreply.github.com>
1 parent 431e9b7 commit 34a147d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

core-ng/src/main/java/core/framework/internal/log/DefaultLoggerFactory.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ private LogLevel infoLevel(String name) {
2626
if (name.startsWith("org.apache.kafka.")) {
2727
return LogLevel.WARN;
2828
}
29+
// refer to org.elasticsearch.nativeaccess.NativeAccessHolder, to emmit warning under integration-test env
30+
if (name.startsWith("org.elasticsearch.nativeaccess.")) {
31+
return LogLevel.ERROR;
32+
}
2933
return LogLevel.INFO;
3034
}
3135

ext/log-processor/src/main/resources/kibana.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@
141141
"panelsJSON": "[\n {\"gridData\": {\"x\": 0, \"y\": 0, \"w\": 48, \"h\": 15, \"i\": \"1\"}, \"panelIndex\": \"1\", \"embeddableConfig\": {\"vis\": {\"legendOpen\": false}}, \"panelRefName\": \"panel_1\"},\n {\"gridData\": {\"x\": 0, \"y\": 15, \"w\": 48, \"h\": 15, \"i\": \"2\"}, \"panelIndex\": \"2\", \"embeddableConfig\": {\"vis\": {\"legendOpen\": false}}, \"panelRefName\": \"panel_2\"}\n]\n"
142142
},
143143
"references": [
144-
{"id": "stat-sse_active_channels", "name": "panel_3", "type": "visualization"},
145-
{"id": "perf-sse_io", "name": "panel_4", "type": "visualization"}
144+
{"id": "stat-sse_active_channels", "name": "panel_1", "type": "visualization"},
145+
{"id": "perf-sse_io", "name": "panel_2", "type": "visualization"}
146146
]
147147
},
148148
{

0 commit comments

Comments
 (0)