File tree 9 files changed +12
-3
lines changed
caching-service/src/main/resources
caching-service-package/src/main/resources/bin
gateway-package/src/main/resources/bin
gateway-service/src/main/resources
zaas-package/src/main/resources/bin
zaas-service/src/main/resources
9 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,7 @@ _BPX_JOBNAME=${ZWE_zowe_job_prefix}${CACHING_CODE} ${JAVA_BIN_DIR}java \
241
241
-Dspring.profiles.active=${ZWE_configs_spring_profiles_active:- } \
242
242
-Dspring.profiles.include=$LOG_LEVEL \
243
243
-Dapiml.logs.location=${ZWE_zowe_logDirectory} \
244
+ -Dapiml.logging.timezone=${ZWE_zowe_logging_timezone} \
244
245
-Dapiml.health.protected=${ZWE_configs_apiml_health_protected:- true} \
245
246
-Dapiml.service.port=${ZWE_configs_port:- 7555} \
246
247
-Dapiml.service.hostname=${ZWE_haInstance_hostname:- localhost} \
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ logging:
41
41
org.apache.tomcat.util.net.SSLUtilBase : ERROR
42
42
org.springframework.security.config.annotation.web.builders.WebSecurity : ERROR
43
43
javax.net.ssl : ERROR
44
+ timezone : ${apiml.logging.timezone:UTC}
44
45
45
46
eureka :
46
47
client :
Original file line number Diff line number Diff line change 5
5
<property name =" MIN_INDEX" value =" ${rollingPolicy.minIndex:-1}" />
6
6
<property name =" MAX_FILE_SIZE" value =" ${rollingPolicy.file.maxSize:-50MB}" />
7
7
<property name =" STORAGE_LOCATION" value =" ${apiml.logs.location}" />
8
- <property name =" apimlLogPattern" value =" %d{yyyy-MM-dd HH:mm:ss.SSS,UTC} %clr< ${logbackService:-${logbackServiceName}}:%thread:${PID:- }> %magenta(%X{userid:-}) %cyan(%-5level) %clr\(\(%logger{15}\)\) %msg%n" />
8
+ <property name =" LOGGING_TIMEZONE" value =" ${logging.timezone:-UTC}" />
9
+ <property name =" apimlLogPattern" value =" %d{yyyy-MM-dd HH:mm:ss.SSS,${LOGGING_TIMEZONE}} %clr< ${logbackService:-${logbackServiceName}}:%thread:${PID:- }> %magenta(%X{userid:-}) %cyan(%-5level) %clr\(\(%logger{15}\)\) %msg%n" />
9
10
10
11
<turboFilter class =" org.zowe.apiml.product.logging.UseridFilter" />
11
12
<if condition =' property("spring.config.activate.on-profile").contains("debug")||property("spring.config.activate.on-profile").contains("diag")||property("spring.config.activate.on-profile").contains("dev")' >
Original file line number Diff line number Diff line change @@ -304,6 +304,7 @@ _BPX_JOBNAME=${ZWE_zowe_job_prefix}${GATEWAY_CODE} ${JAVA_BIN_DIR}java \
304
304
-Dapiml.connection.idleConnectionTimeoutSeconds=${ZWE_configs_apiml_connection_idleConnectionTimeoutSeconds:- 5} \
305
305
-Dapiml.connection.timeToLive=${ZWE_configs_apiml_connection_timeToLive:- 10000} \
306
306
-Dapiml.logs.location=${ZWE_zowe_logDirectory} \
307
+ -Dapiml.logging.timezone=${ZWE_zowe_logging_timezone} \
307
308
-Dapiml.health.protected=${ZWE_configs_apiml_health_protected:- true} \
308
309
-Dapiml.security.ssl.verifySslCertificatesOfServices=${verifySslCertificatesOfServices} \
309
310
-Dapiml.security.ssl.nonStrictVerifySslCertificatesOfServices=${nonStrictVerifySslCertificatesOfServices:- false} \
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ logging:
154
154
io.netty.resolver.dns : WARN
155
155
javax.net.ssl : ERROR
156
156
org.apache.tomcat.util.net.SSLUtilBase : ERROR
157
+ timezone : ${apiml.logging.timezone:UTC}
157
158
158
159
management :
159
160
endpoint :
Original file line number Diff line number Diff line change 5
5
<property name =" MIN_INDEX" value =" ${rollingPolicy.minIndex:-1}" />
6
6
<property name =" MAX_FILE_SIZE" value =" ${rollingPolicy.file.maxSize:-50MB}" />
7
7
<property name =" STORAGE_LOCATION" value =" ${apiml.logs.location}" />
8
- <property name =" apimlLogPattern" value =" %d{yyyy-MM-dd HH:mm:ss.SSS,UTC} %clr< ${logbackService:-${logbackServiceName}}:%thread:${PID:- }> %magenta(%X{userid:-}) %cyan(%-5level) %clr\(\(%logger{15}\)\) %msg%n" />
8
+ <property name =" LOGGING_TIMEZONE" value =" ${logging.timezone:-UTC}" />
9
+ <property name =" apimlLogPattern" value =" %d{yyyy-MM-dd HH:mm:ss.SSS,${LOGGING_TIMEZONE}} %clr< ${logbackService:-${logbackServiceName}}:%thread:${PID:- }> %magenta(%X{userid:-}) %cyan(%-5level) %clr\(\(%logger{15}\)\) %msg%n" />
9
10
10
11
<turboFilter class =" org.zowe.apiml.product.logging.UseridFilter" />
11
12
<if condition =' property("spring.config.activate.on-profile").contains("debug")||property("spring.config.activate.on-profile").contains("diag")||property("spring.config.activate.on-profile").contains("dev")' >
Original file line number Diff line number Diff line change @@ -307,6 +307,7 @@ _BPX_JOBNAME=${ZWE_zowe_job_prefix}${ZAAS_CODE} ${JAVA_BIN_DIR}java \
307
307
-Dapiml.connection.idleConnectionTimeoutSeconds=${ZWE_configs_apiml_connection_idleConnectionTimeoutSeconds:- 5} \
308
308
-Dapiml.cache.storage.location=${ZWE_zowe_workspaceDirectory} /api-mediation/${ZWE_haInstance_id:- localhost} \
309
309
-Dapiml.logs.location=${ZWE_zowe_logDirectory} \
310
+ -Dapiml.logging.timezone=${ZWE_zowe_logging_timezone} \
310
311
-Dapiml.security.ssl.verifySslCertificatesOfServices=${verifySslCertificatesOfServices:- true} \
311
312
-Dapiml.security.ssl.nonStrictVerifySslCertificatesOfServices=${nonStrictVerifySslCertificatesOfServices:- false} \
312
313
-Dapiml.security.auth.zosmf.serviceId=${ZWE_configs_apiml_security_auth_zosmf_serviceId:- ${ZWE_components_gateway_apiml_security_auth_zosmf_serviceId:- ibmzosmf} } \
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ logging:
26
26
org.apache.http.conn.ssl.DefaultHostnameVerifier : DEBUG # logs only SSLException
27
27
org.eclipse.jetty.util.ssl : ERROR
28
28
org.apache.tomcat.util.net.SSLUtilBase : ERROR
29
+ timezone : ${apiml.logging.timezone:UTC}
29
30
30
31
apiml :
31
32
service :
Original file line number Diff line number Diff line change 5
5
<property name =" MIN_INDEX" value =" ${rollingPolicy.minIndex:-1}" />
6
6
<property name =" MAX_FILE_SIZE" value =" ${rollingPolicy.file.maxSize:-50MB}" />
7
7
<property name =" STORAGE_LOCATION" value =" ${apiml.logs.location}" />
8
- <property name =" apimlLogPattern" value =" %d{yyyy-MM-dd HH:mm:ss.SSS,UTC} %clr< ${logbackService:-${logbackServiceName}}:%thread:${PID:- }> %magenta(%X{userid:-}) %cyan(%-5level) %clr\(\(%logger{15}\)\) %msg%n" />
8
+ <property name =" LOGGING_TIMEZONE" value =" ${logging.timezone:-UTC}" />
9
+ <property name =" apimlLogPattern" value =" %d{yyyy-MM-dd HH:mm:ss.SSS,${LOGGING_TIMEZONE}} %clr< ${logbackService:-${logbackServiceName}}:%thread:${PID:- }> %magenta(%X{userid:-}) %cyan(%-5level) %clr\(\(%logger{15}\)\) %msg%n" />
9
10
10
11
<turboFilter class =" org.zowe.apiml.product.logging.UseridFilter" />
11
12
<if condition =' property("spring.config.activate.on-profile").contains("debug")||property("spring.config.activate.on-profile").contains("diag")||property("spring.config.activate.on-profile").contains("dev")' >
You can’t perform that action at this time.
0 commit comments