|
win007
初级用户
积分 45
发帖 44
注册 2008-11-22
状态 离线
|
『第
16 楼』:
LS的高手,我是想了解log是否有新的error
|
|
2009-1-12 22:04 |
|
|
win007
初级用户
积分 45
发帖 44
注册 2008-11-22
状态 离线
|
『第
17 楼』:
这是log可能产生的几种状况,高手指教下
1.出现warn的状况:no comments可以为产生WARN的reason:
130000 [2009-01-07 14:35:24,754] WARN com.1234.system.12 - no comments
2.出现Error的状况:Error in Reason:产生error的reason
40144274 [2009-01-05 11:09:07,547] DEBUG com.1234.system.12 - Domain: XXX.XXXXXX
40144274 [2009-01-05 11:09:07,547] DEBUG com.1234.system.12 - User: user
40144274 [2009-01-05 11:09:07,547] DEBUG com.1234.system.12 - Passwd: 123123
40144274 [2009-01-05 11:09:07,547] DEBUG com.1234.BsLg.RemFutHoldBL - TimeOut: 15
40144274 [2009-01-05 11:09:07,547] DEBUG com.1234.BsLg.RemFutHoldBL - Setting TP time out...
40144274 [2009-01-05 11:09:07,547] DEBUG com.1234.BsLg.RemFutHoldBL - dTranTimeOut : 15.0
40144274 [2009-01-05 11:09:07,547] DEBUG com.1234.BsLg.RemFutHoldBL - Validating the request message format which has
nested structure for basic tag...
40144274 [2009-01-05 11:09:07,547] INFO com.1234.123456.systemAdapter - Result message:<?xml version="1.0"
encoding="UTF-8"?><RemFutHoldResult
xmlns="http://www.1234.com.tw/api/xml/RemFutHoldResult"><Lot><RetCode>12345678</RetCode><FabCode>12</FabCode><RetMsg>Error in
Reason:XX:XXXXX,XXXXXXX, XXXXXXXXXXXXXXXXXXXXXXX.(regno:XXXX)
3.系统正常处于wait状态的状况:
191063 [2009-01-12 00:03:13,949] INFO com.1234.message.MessageService - Receiving wait...1
191391 [2009-01-12 00:03:14,277] INFO com.1234.message.MessageService - Receive from
queue(queue://123456789/123456.12345.REQUEST?CCSID=950)
380891 [2009-01-12 00:06:23,777] INFO com.1234.message.MessageService - Receiving wait...2
381063 [2009-01-12 00:06:23,949] INFO com.1234.message.MessageService - Receive from
queue(queue://123456789/123456.12345.REQUEST?CCSID=950)
570000 [2009-01-12 00:09:32,886] INFO com.1234.message.MessageService - Receiving wait...3
570329 [2009-01-12 00:09:33,215] INFO com.1234.message.MessageService - Receive from
queue(queue://123456789/123456.12345.REQUEST?CCSID=950)
759141 [2009-01-12 00:12:42,027] INFO com.1234.message.MessageService - Receiving wait...4
759313 [2009-01-12 00:12:42,199] INFO com.1234.message.MessageService - Receive from
queue(queue://123456789/123456.12345.REQUEST?CCSID=950)
4.user作动作的状况:
|
|
2009-1-13 11:32 |
|
|
slore
铂金会员
积分 5212
发帖 2478
注册 2007-2-8
状态 离线
|
『第
18 楼』:
你能不能给下log文件。。。
只贴2次比较要看的地方。。。
|
S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore |
|
2009-1-14 17:30 |
|
|
win007
初级用户
积分 45
发帖 44
注册 2008-11-22
状态 离线
|
『第
19 楼』:
我是按log文件上会出现error的地方贴出来
我也想把log贴出来
可惜公司没办法上传
给点建议吧~
|
|
2009-1-15 13:54 |
|
|
slore
铂金会员
积分 5212
发帖 2478
注册 2007-2-8
状态 离线
|
『第
20 楼』:
每次log的修改都是往最后添加麽?
是的话,一直读。将最后一句就保存起来了。
最后一句开头是reason是error了,是queue那是wait,检查最后一句有没有
debug或warn就能区分了啊
我看你的例子最后一行就能判断出全部。。。
|
S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore |
|
2009-1-15 14:29 |
|
|