centos linux 系统上 log4j打印的时间与CST时间差8小时的解决方法

时间:2016-08-17 10:24:57   收藏:0   阅读:759

在启动参数上加上时区设置-Duser.timezone=GMT+08

 

java -jar -Duser.timezone=GMT+08 target/micservice_histclientsdataetl-1.0-SNAPSHOT-jar-with-dependencies.jar local

原文:http://www.cnblogs.com/zhengchunhao/p/5778732.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!