Ask Your Question
0

How to change the timezone of the pipeline history

asked 2018-08-10 00:54:16 -0500

Yosen gravatar image

Dear experts:

I find the time of the pipeline history tab is not our server's timezone. And I check the configuration from the menu "adminstration/configuration", I find there is a parameter "ui.server.timezone". It looks like this timezone is as same as the the history log. But I can't find this parameter in the file of sdc.properties. So how to change the timezone to the server timezone? I try to add this parameter to the sdc.properties, but it does not work.

Yosen

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2019-01-21 09:12:46 -0500

Rex_CN gravatar image

Choose a pipeline, view logs, Click "Log Config", find "#sdc.log appender" part

Replace "layout" and "layout.ConversionPattern" with the lines below, replace {GMT+8} with your timezone, hope it helps :)

log4j.appender.streamsets.layout=org.apache.log4j.EnhancedPatternLayout log4j.appender.streamsets.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS}{GMT+8} [user:%X{s-user}] [pipeline:%X{s-entity}] [runner:%X{s-runner}] [thread:%t] %-5p %c{1} - %m%n

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-08-10 00:54:16 -0500

Seen: 726 times

Last updated: Aug 10 '18