简体   繁体   English

Glassfish记录日期和DST?

[英]Glassfish Logs Date and DST?

So, the system time on my Ubuntu server updated appropriately with DST on Sunday. 因此,我的Ubuntu服务器上的系统时间在星期天用DST进行了适当更新。

However, the timestamp on my glassfish logs are still an hour off. 但是,我的玻璃鱼原木上的时间戳仍然有一个小时的时间。 I've restarted the application server, but this doesn't seem to have changed anything. 我已经重新启动了应用程序服务器,但这似乎没有任何改变。

A quick hello-world indicates that the JVM grabs the (correct) system time. 快速的hello-world表示JVM占用了(正确的)系统时间。 Any ideas on why the time in the glassfish logs do not match the system or JVM date and time? 关于glassfish日志中的时间为何与系统或JVM日期和时间不匹配的任何想法?

As suggested, I've also run the tzupdate tool. 根据建议,我还运行了tzupdate工具。 This does not seem to have done much. 这似乎没有做太多。

Any ideas what's going on? 有什么想法吗? How can I repair this? 我该如何修理?

You might need to update the JVM to get the latest time zone information. 您可能需要更新JVM,以获取最新的时区信息。 Or use the Timezone Updater Tool . 或使用时区更新程序工具

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM