File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ package spec
20
20
import (
21
21
"bytes"
22
22
"context"
23
-
24
- // used for template
25
23
_ "embed"
26
24
"encoding/json"
27
25
"errors"
@@ -125,7 +123,7 @@ const (
125
123
DefaultPythonLogConfigPath = PythonLogConifgDirectory + PythonLogConfigFile
126
124
127
125
DefaultFilebeatConfig = "/usr/share/filebeat/config/filebeat.yaml"
128
- DefaultFilebeatImage = "streamnative/filebeat:v0.6.0-rc7 "
126
+ DefaultFilebeatImage = "streamnative/filebeat:v0.6.0"
129
127
130
128
EnvGoFunctionLogLevel = "LOGGING_LEVEL"
131
129
@@ -1114,7 +1112,7 @@ func parseJavaLogLevel(runtime *v1alpha1.JavaRuntime) string {
1114
1112
v1alpha1 .LogLevelFatal : "FATAL" ,
1115
1113
v1alpha1 .LogLevelOff : "OFF" ,
1116
1114
}
1117
- if runtime .Log != nil && runtime .Log .Level != "" && runtime . Log . LogConfig == nil {
1115
+ if runtime .Log != nil && runtime .Log .Level != "" {
1118
1116
if level , exist := levelMap [runtime .Log .Level ]; exist {
1119
1117
return level
1120
1118
}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ filebeat.inputs:
3
3
paths:
4
4
- /pulsar/logs/functions/*.log
5
5
output.pulsar:
6
+ fast_fail: true
6
7
url: \${brokerServiceURL}
7
8
topic: \${logTopic}
8
9
name: \${logName}
You can’t perform that action at this time.
0 commit comments