由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 为啥logger.info print 出来的时间超前?
相关主题
ConcurrentModificationException再请问版主一个随机读取文件的问题
When running a .jar file, error message: cannot connect to window server初学java的书
SOAP over JMS with CXF frame?一个 skip list 面试题
添加folder到class pathRe: JTextArea的内容不滚动
ActiveMQ和RabbitMQTop Ten Errors Java Programmers Make(10)
java可以直接去读txt file里指定的一行吗?Top Ten Errors Java Programmers Make(8)
Help with Tomcat for Eclipse v1.03Top Ten Errors Java Programmers Make(7)
Tomcat JSP syntax errorTop Ten Errors Java Programmers Make(6)
相关话题的讨论汇总
话题: info话题: dec话题: message话题: 28话题: 2011
进入Java版参与讨论
1 (共1页)
h*********e
发帖数: 247
1
我刚试了一个<>的例子,
svn co http://svn.springbyexample.org/enterprise/simple-spring-jms/tags/1.0.1/ simple-spring-jms
惊讶的发现logger.info print 出来的 date time 竟然比实际时间(Wed Dec 28 18:50
:02 EST 2011) 提前5个小时: Dec 28 2011 23:49:58!!!
Dec 28 2011 23:49:58 INFO org.springbyexample.jms.JmsMessageListener -
Processe

[INFO] Finished at: Wed Dec 28 18:50:02 EST 2011
哪位知道这是咋回事,也许哪儿有locale设置成比如德国, 我试着search “de" in
eclipse, 但没找到。
请参看下边输出,
....\SpringByExample\simple-spring-jms>mvn clean install
Dec 28 2011 23:49:58 INFO org.springbyexample.jms.JmsMessageListener -
Processe
d message 'Message number is 97.'. value=97
Dec 28 2011 23:49:58 INFO org.springbyexample.jms.JmsMessageListener -
Processe
d message 'Message number is 98.'. value=98
Dec 28 2011 23:49:58 INFO org.springbyexample.jms.JmsMessageListener -
Processe
d message 'Message number is 99.'. value=99
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.314 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
.............
Dec 28 2011 23:50:02 INFO org.apache.activemq.broker.BrokerService -
ActiveMQ J
MS Message Broker (localhost, ID:GSI-15500-59198-1325116198380-0:0) stopped
[INFO] ---------------------------------------------------------------------
---
[INFO] BUILD SUCCESS
[INFO] ---------------------------------------------------------------------
---
[INFO] Total time: 6.565s
[INFO] Finished at: Wed Dec 28 18:50:02 EST 2011
[INFO] Final Memory: 4M/121M
[INFO] ---------------------------------------------------------------------
---
j*****a
发帖数: 436
2
The logger layout class used ch.qos.logback.classic.PatternLayout. The QOS.
ch is a Switzerland company.
h*********e
发帖数: 247
3
Thanks a lot!
1 (共1页)
进入Java版参与讨论
相关主题
Top Ten Errors Java Programmers Make(6)ActiveMQ和RabbitMQ
Top Ten Errors Java Programmers Make(5)java可以直接去读txt file里指定的一行吗?
Top Ten Errors Java Programmers Make(4)Help with Tomcat for Eclipse v1.03
Top Ten Errors Java Programmers Make(3)Tomcat JSP syntax error
ConcurrentModificationException再请问版主一个随机读取文件的问题
When running a .jar file, error message: cannot connect to window server初学java的书
SOAP over JMS with CXF frame?一个 skip list 面试题
添加folder到class pathRe: JTextArea的内容不滚动
相关话题的讨论汇总
话题: info话题: dec话题: message话题: 28话题: 2011