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 | |
|