Oracle MSCA(Mobile Supply Chain Application) Debug Log & SQL Trace

本文详细介绍了Oracle Mobile Supply Chain Application (MSCA)的日志调试和SQL跟踪步骤。在日志方面,通过调整mwa.cfg配置文件中的'mwa.logdir'和'mwa.LogLevel'设置,可以获取不同级别的日志信息。在SQL跟踪方面,通过在$mWA_TOP/secure目录修改配置,启动服务器,执行问题操作,然后使用特定查询定位跟踪文件,最后利用TKPROF分析生成的跟踪文件。
摘要由CSDN通过智能技术生成

MSCA Debug Log

1. 找到mwa.cfg配置文件

In 11i: $MWA_TOP/secure/
In R12: $INST_TOP/admin/install/

2. 设置mwa.cfg
trace level: mwa.LogLevel=TRACE

'mwa.logdir' 为日志输出路径,R12下,mobile日志会写到$INST_TOP/logs下

注:mwa.LogLevel可以设置为: Fatal, Error, Warning, Debug, and Trace.
Fatal只有在出现错误的情况才会记录日志. Trace会打出所有日志。因为性能原因,一般情况下不要设置logLevel到TRACE


3. 重启mobile Server

4. 业务处理, 在日志目录下就能看到[port].INV.log,[port].system.log


MSCA SQL Trace

1. Go to $MWA_TOP/secure directory. 

2. In the file mwa.cfg , set mwa.LogLevel=performance.

3. Restart the mobile server.

4. Perform the related navigation steps to cause the issue.

5. You can search in the trace directories for files created. Or you can try to locate the particular file using SQL like the following to help. Query to identi

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值