File tree Expand file tree Collapse file tree 15 files changed +97
-16
lines changed Expand file tree Collapse file tree 15 files changed +97
-16
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,10 @@ ENV SE_BIND_HOST=false \
159
159
SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED=true \
160
160
SE_OTEL_TRACES_EXPORTER="otlp" \
161
161
SE_SUPERVISORD_LOG_LEVEL="info" \
162
+ SE_LOG_LEVEL="INFO" \
163
+ SE_HTTP_LOGS=false \
164
+ SE_STRUCTURED_LOGS=false \
165
+ SE_ENABLE_TRACING=true \
162
166
SE_ENABLE_TLS=false \
163
167
SE_JAVA_SSL_TRUST_STORE="/opt/selenium/secrets/server.jks" \
164
168
SE_JAVA_SSL_TRUST_STORE_PASSWORD="/opt/selenium/secrets/server.pass" \
Original file line number Diff line number Diff line change @@ -59,6 +59,11 @@ if [ ! -z "$SE_LOG_LEVEL" ]; then
59
59
SE_OPTS=" $SE_OPTS --log-level ${SE_LOG_LEVEL} "
60
60
fi
61
61
62
+ if [ ! -z " $SE_HTTP_LOGS " ]; then
63
+ echo " Appending Selenium options: --http-logs ${SE_HTTP_LOGS} "
64
+ SE_OPTS=" $SE_OPTS --http-logs ${SE_HTTP_LOGS} "
65
+ fi
66
+
62
67
if [ ! -z " $SE_STRUCTURED_LOGS " ]; then
63
68
echo " Appending Selenium options: --structured-logs ${SE_STRUCTURED_LOGS} "
64
69
SE_OPTS=" $SE_OPTS --structured-logs ${SE_STRUCTURED_LOGS} "
@@ -136,6 +141,8 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
136
141
SE_JAVA_OPTS=" $SE_JAVA_OPTS ${SE_OTEL_JVM_ARGS} "
137
142
fi
138
143
else
144
+ SE_OPTS=" $SE_OPTS --tracing false"
145
+ SE_JAVA_OPTS=" $SE_JAVA_OPTS -Dwebdriver.remote.enableTracing=false"
139
146
echo " Tracing is disabled"
140
147
fi
141
148
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ if [ ! -z "$SE_LOG_LEVEL" ]; then
24
24
SE_OPTS=" $SE_OPTS --log-level ${SE_LOG_LEVEL} "
25
25
fi
26
26
27
+ if [ ! -z " $SE_HTTP_LOGS " ]; then
28
+ echo " Appending Selenium options: --http-logs ${SE_HTTP_LOGS} "
29
+ SE_OPTS=" $SE_OPTS --http-logs ${SE_HTTP_LOGS} "
30
+ fi
31
+
27
32
if [ ! -z " $SE_STRUCTURED_LOGS " ]; then
28
33
echo " Appending Selenium options: --structured-logs ${SE_STRUCTURED_LOGS} "
29
34
SE_OPTS=" $SE_OPTS --structured-logs ${SE_STRUCTURED_LOGS} "
@@ -86,6 +91,8 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
86
91
SE_JAVA_OPTS=" $SE_JAVA_OPTS ${SE_OTEL_JVM_ARGS} "
87
92
fi
88
93
else
94
+ SE_OPTS=" $SE_OPTS --tracing false"
95
+ SE_JAVA_OPTS=" $SE_JAVA_OPTS -Dwebdriver.remote.enableTracing=false"
89
96
echo " Tracing is disabled"
90
97
fi
91
98
Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ if [ ! -z "$SE_LOG_LEVEL" ]; then
27
27
SE_OPTS=" $SE_OPTS --log-level ${SE_LOG_LEVEL} "
28
28
fi
29
29
30
+ if [ ! -z " $SE_HTTP_LOGS " ]; then
31
+ echo " Appending Selenium options: --http-logs ${SE_HTTP_LOGS} "
32
+ SE_OPTS=" $SE_OPTS --http-logs ${SE_HTTP_LOGS} "
33
+ fi
34
+
30
35
if [ ! -z " $SE_STRUCTURED_LOGS " ]; then
31
36
echo " Appending Selenium options: --structured-logs ${SE_STRUCTURED_LOGS} "
32
37
SE_OPTS=" $SE_OPTS --structured-logs ${SE_STRUCTURED_LOGS} "
@@ -119,6 +124,8 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
119
124
SE_JAVA_OPTS=" $SE_JAVA_OPTS ${SE_OTEL_JVM_ARGS} "
120
125
fi
121
126
else
127
+ SE_OPTS=" $SE_OPTS --tracing false"
128
+ SE_JAVA_OPTS=" $SE_JAVA_OPTS -Dwebdriver.remote.enableTracing=false"
122
129
echo " Tracing is disabled"
123
130
fi
124
131
Original file line number Diff line number Diff line change @@ -66,6 +66,11 @@ if [ ! -z "$SE_LOG_LEVEL" ]; then
66
66
SE_OPTS=" $SE_OPTS --log-level ${SE_LOG_LEVEL} "
67
67
fi
68
68
69
+ if [ ! -z " $SE_HTTP_LOGS " ]; then
70
+ echo " Appending Selenium options: --http-logs ${SE_HTTP_LOGS} "
71
+ SE_OPTS=" $SE_OPTS --http-logs ${SE_HTTP_LOGS} "
72
+ fi
73
+
69
74
if [ ! -z " $SE_STRUCTURED_LOGS " ]; then
70
75
echo " Appending Selenium options: --structured-logs ${SE_STRUCTURED_LOGS} "
71
76
SE_OPTS=" $SE_OPTS --structured-logs ${SE_STRUCTURED_LOGS} "
@@ -139,6 +144,8 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
139
144
SE_JAVA_OPTS=" $SE_JAVA_OPTS ${SE_OTEL_JVM_ARGS} "
140
145
fi
141
146
else
147
+ SE_OPTS=" $SE_OPTS --tracing false"
148
+ SE_JAVA_OPTS=" $SE_JAVA_OPTS -Dwebdriver.remote.enableTracing=false"
142
149
echo " Tracing is disabled"
143
150
fi
144
151
Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ if [ ! -z "$SE_LOG_LEVEL" ]; then
34
34
SE_OPTS=" $SE_OPTS --log-level ${SE_LOG_LEVEL} "
35
35
fi
36
36
37
+ if [ ! -z " $SE_HTTP_LOGS " ]; then
38
+ echo " Appending Selenium options: --http-logs ${SE_HTTP_LOGS} "
39
+ SE_OPTS=" $SE_OPTS --http-logs ${SE_HTTP_LOGS} "
40
+ fi
41
+
37
42
if [ ! -z " $SE_STRUCTURED_LOGS " ]; then
38
43
echo " Appending Selenium options: --structured-logs ${SE_STRUCTURED_LOGS} "
39
44
SE_OPTS=" $SE_OPTS --structured-logs ${SE_STRUCTURED_LOGS} "
@@ -96,6 +101,8 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
96
101
SE_JAVA_OPTS=" $SE_JAVA_OPTS ${SE_OTEL_JVM_ARGS} "
97
102
fi
98
103
else
104
+ SE_OPTS=" $SE_OPTS --tracing false"
105
+ SE_JAVA_OPTS=" $SE_JAVA_OPTS -Dwebdriver.remote.enableTracing=false"
99
106
echo " Tracing is disabled"
100
107
fi
101
108
Original file line number Diff line number Diff line change @@ -59,6 +59,11 @@ if [ ! -z "$SE_LOG_LEVEL" ]; then
59
59
SE_OPTS=" $SE_OPTS --log-level ${SE_LOG_LEVEL} "
60
60
fi
61
61
62
+ if [ ! -z " $SE_HTTP_LOGS " ]; then
63
+ echo " Appending Selenium options: --http-logs ${SE_HTTP_LOGS} "
64
+ SE_OPTS=" $SE_OPTS --http-logs ${SE_HTTP_LOGS} "
65
+ fi
66
+
62
67
if [ ! -z " $SE_STRUCTURED_LOGS " ]; then
63
68
echo " Appending Selenium options: --structured-logs ${SE_STRUCTURED_LOGS} "
64
69
SE_OPTS=" $SE_OPTS --structured-logs ${SE_STRUCTURED_LOGS} "
@@ -141,6 +146,8 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
141
146
SE_JAVA_OPTS=" $SE_JAVA_OPTS ${SE_OTEL_JVM_ARGS} "
142
147
fi
143
148
else
149
+ SE_OPTS=" $SE_OPTS --tracing false"
150
+ SE_JAVA_OPTS=" $SE_JAVA_OPTS -Dwebdriver.remote.enableTracing=false"
144
151
echo " Tracing is disabled"
145
152
fi
146
153
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ if [ ! -z "$SE_LOG_LEVEL" ]; then
24
24
SE_OPTS=" $SE_OPTS --log-level ${SE_LOG_LEVEL} "
25
25
fi
26
26
27
+ if [ ! -z " $SE_HTTP_LOGS " ]; then
28
+ echo " Appending Selenium options: --http-logs ${SE_HTTP_LOGS} "
29
+ SE_OPTS=" $SE_OPTS --http-logs ${SE_HTTP_LOGS} "
30
+ fi
31
+
27
32
if [ ! -z " $SE_STRUCTURED_LOGS " ]; then
28
33
echo " Appending Selenium options: --structured-logs ${SE_STRUCTURED_LOGS} "
29
34
SE_OPTS=" $SE_OPTS --structured-logs ${SE_STRUCTURED_LOGS} "
@@ -91,6 +96,8 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
91
96
SE_JAVA_OPTS=" $SE_JAVA_OPTS ${SE_OTEL_JVM_ARGS} "
92
97
fi
93
98
else
99
+ SE_OPTS=" $SE_OPTS --tracing false"
100
+ SE_JAVA_OPTS=" $SE_JAVA_OPTS -Dwebdriver.remote.enableTracing=false"
94
101
echo " Tracing is disabled"
95
102
fi
96
103
Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ if [ ! -z "$SE_LOG_LEVEL" ]; then
39
39
SE_OPTS=" $SE_OPTS --log-level ${SE_LOG_LEVEL} "
40
40
fi
41
41
42
+ if [ ! -z " $SE_HTTP_LOGS " ]; then
43
+ echo " Appending Selenium options: --http-logs ${SE_HTTP_LOGS} "
44
+ SE_OPTS=" $SE_OPTS --http-logs ${SE_HTTP_LOGS} "
45
+ fi
46
+
42
47
if [ ! -z " $SE_STRUCTURED_LOGS " ]; then
43
48
echo " Appending Selenium options: --structured-logs ${SE_STRUCTURED_LOGS} "
44
49
SE_OPTS=" $SE_OPTS --structured-logs ${SE_STRUCTURED_LOGS} "
@@ -106,6 +111,8 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
106
111
SE_JAVA_OPTS=" $SE_JAVA_OPTS ${SE_OTEL_JVM_ARGS} "
107
112
fi
108
113
else
114
+ SE_OPTS=" $SE_OPTS --tracing false"
115
+ SE_JAVA_OPTS=" $SE_JAVA_OPTS -Dwebdriver.remote.enableTracing=false"
109
116
echo " Tracing is disabled"
110
117
fi
111
118
Original file line number Diff line number Diff line change @@ -66,6 +66,11 @@ if [ ! -z "$SE_LOG_LEVEL" ]; then
66
66
SE_OPTS=" $SE_OPTS --log-level ${SE_LOG_LEVEL} "
67
67
fi
68
68
69
+ if [ ! -z " $SE_HTTP_LOGS " ]; then
70
+ echo " Appending Selenium options: --http-logs ${SE_HTTP_LOGS} "
71
+ SE_OPTS=" $SE_OPTS --http-logs ${SE_HTTP_LOGS} "
72
+ fi
73
+
69
74
if [ ! -z " $SE_STRUCTURED_LOGS " ]; then
70
75
echo " Appending Selenium options: --structured-logs ${SE_STRUCTURED_LOGS} "
71
76
SE_OPTS=" $SE_OPTS --structured-logs ${SE_STRUCTURED_LOGS} "
@@ -145,6 +150,8 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
145
150
SE_JAVA_OPTS=" $SE_JAVA_OPTS ${SE_OTEL_JVM_ARGS} "
146
151
fi
147
152
else
153
+ SE_OPTS=" $SE_OPTS --tracing false"
154
+ SE_JAVA_OPTS=" $SE_JAVA_OPTS -Dwebdriver.remote.enableTracing=false"
148
155
echo " Tracing is disabled"
149
156
fi
150
157
You can’t perform that action at this time.
0 commit comments