![]() |
中国DOS联盟-- 联合DOS 推动DOS 发展DOS --联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum |
| 游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟 |
|
中国DOS联盟论坛 现在时间是 2026-08-11 07:08 |
共 47,811 主题排行 / 349,897 发帖 / 今日 0 篇 / 48,256 会员排行 |
| DOS批处理 & 脚本技术(批处理室) » [请教]检测系统log存活以及有无关键字 |
| 可打印版本 1,894 / 19 |
| 第16楼 win007 | 发表于 2009-01-12 22:04 |
| 初级用户 发帖 44 积分 45 | |
|
LS的高手,我是想了解log是否有新的error
|
|
| 第17楼 win007 | 发表于 2009-01-13 11:32 |
| 初级用户 发帖 44 积分 45 | |
|
这是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作动作的状况: |
|
| 第18楼 slore | 发表于 2009-01-14 17:30 |
| 铂金会员 发帖 2,478 积分 5,212 | |
|
你能不能给下log文件。。。
只贴2次比较要看的地方。。。 |
|
| 第19楼 win007 | 发表于 2009-01-15 13:54 |
| 初级用户 发帖 44 积分 45 | |
|
我是按log文件上会出现error的地方贴出来
我也想把log贴出来 可惜公司没办法上传 给点建议吧~ |
|
| 第20楼 slore | 发表于 2009-01-15 14:29 |
| 铂金会员 发帖 2,478 积分 5,212 | |
|
每次log的修改都是往最后添加麽?
是的话,一直读。将最后一句就保存起来了。 最后一句开头是reason是error了,是queue那是wait,检查最后一句有没有 debug或warn就能区分了啊 我看你的例子最后一行就能判断出全部。。。 |
|
| 上一页 1 2 |
|
[ 联系联盟系统管理团队 -
中国DOS联盟 -
标准版 ] Sponsored by ifanr Inc | © 2001–2023 |