MSCA(Mobile Supply Chain Application)日志的收集

Reference Note:338291.1 - Howto Enable WMS / MSCA Logging

1. Locate the mwa.cfg file:

In 11i: $MWA_TOP/secure/

In R12: $INST_TOP/admin/install/

2. Ensure trace is enabled in the mwa.cfg file.

You should see trace level: mwa.LogLevel=TRACE

Also check for 'mwa.logdir' to be set accordingly

3. Restart the mobile server and hit ctrl-X, see what directory is for the logging

4. After you perform the transaction again, get the following log files from that log directory

[port].INV.log

[port].system.log

Inventory模块日志的收集

Reference Note:148651.1 - INV DEBUG: How to get Debug Information for Inventory

Set the System Profile Values as follows:

SYSTEM PROFILE VALUES

-- Summary

INV: Debug Trace: Yes

INV:Debug Level: 11

INV: Debug file:  /usr/tmp/invdebug.log

-- Details

INV: Debug Trace: set Yes to turn on the debug functionality.

set No to turn off the debug functionality.

INV:Debug Level: set 0 , will print the summary debug messages.

set 10 , to print the detail debug messages.

INV: Debug file (Including the complete path):

The path is one of the directories from the valid

directories defined in the obtained v$parameter

through the following sql :

select value

from v$parameter

where name = 'utl_file_dir';

Make sure to include the file name at the end of the

path, e.g. '/<...>/trx_mgr.log'

Order Management模块日志收集方法

Reference (NOTE:121054.1):How to generate a debug file in OM

OM: Debug = 5

OM: Debug Log Directory = <first directory path returned by

select value from v$parameter where name = 'utl_file_dir';

The User must have write privilege to this directory>

Log off and log back in the application for the profile settings to take place.

Shipping模块日志收集方法

Reference Note:290432.1 - How to Create a Debug File in Shipping Execution

A. To generate a debug file from the Shipping Transaction or Quick Ship forms

1.Set the following profile options:

OM: Debug Level - set to 5

WSH: Debug Enabled - set to Yes

WSH: Debug Level - set to Statement

WSH: Debug Log Directory - any directory that can be written to by the database

To check, run the following SQL statement:

Code:

select value from v$parameter where name = 'utl_file_dir'

Set profile option WSH: Debug Log Directory at the Site & Application Level.

2.In the Shipping form go to Tools and check the Debug box. This will print out a file name - NOTE down this file name.


3.Perform the action you wish to debug.

4.Go to Tools and uncheck Debug.

5.After you have completed generating the debug file, please set thevalue of the profile OM: Debug Level back to 0 and WSH: Debug Enabledset to No, otherwise there will be some performance impact. Retrievethe debug file from the directory specified in step
1.

B. To generate debug information for Pick Release :

1.Set the following profile options:

OM: Debug Level - set to 5

INV: Debug Trace - set to Yes

INV: Debug Level - set to 11

FND: Debug Log Enabled - set to Yes

FND: Debug Log Level - set to Statement

FND: Debug Log Module = set to wms.plsql.%

WSH: Debug Enabled - set to Yes

WSH: Debug Level - set to Statement

2.In the Release Sales Order for Picking form go to Tools and check the Debug box.


3.Submit the pick release.

4.Provide the Pick Selection List Generation log file.

C. To generate debug information for Interface Trip Stop - SRS:

1.Set the following profile options:

OM: Debug Level - set to 5

INV: Debug Level - set to 10

WSH: Debug Enabled - set to Yes

WSH: Debug Level - set to Statement

2.Set the Debug Level parameter to 1 (Debugging ON) .

3.Submit the job.

4.Provide the log file.

D. To generate debug information for an APIs:

1.Set the following profile options:

OM: Debug Level - set to 5

INV: Debug Level - set to 10

WSH: Debug Enabled - set to Yes

WSH: Debug Level - set to Statement

WSH: Debug Log Directory - set to a valid writeable directory path

2.Add the following line of code in the wrapper script which calls the API:

Code:

DECLARE

 l_file_name VARCHAR2(32767);

 l_return_status VARCHAR2(32767);

 l_msg_data VARCHAR2(32767);

 l_msg_count NUMBER;

BEGIN

 

 fnd_profile.put('WSH_DEBUG_MODULE','%');

 fnd_profile.put('WSH_DEBUG_LEVEL',WSH_DEBUG_SV.C_STMT_LEVEL);

 wsh_debug_sv.start_debugger(l_file_name,l_return_status,l_msg_data,l_msg_count);

3.Submit the job.

4.Provide the log file.

WIP模块日志收集方法

How to generate WIP debug log files in ONLINE cases?


For 11.5.10 and above, the WIP debug log files will be created if

    1. FND: Debug Log Filename = (Make sure this is null)

    2. FND: Debug Log Enabled = Yes

    3. FND: Debug Log Level = Statement

    4. FND: Debug Log Module = WIP%

To get the log file, run the following SQL script. This will create an output called MoveON.txt

        set pagesize 500

        col message_text format a99

        spool MoveON.txt

        select message_text from fnd_log_messages where audsid=&audsid order by log_sequence;

    spool off

       To get the audsid In online cases

        Navigate to Help > About Oracle applications 

·        Note AUDSID Under Database Server and use it in the above sql.

        To get the log messages for mobile applications

               1. Get the maximum log sequence number using the following sql just before performing the test case and make a note of it.

                     select Max(log_sequence)  from fnd_log_messages;

               2. To get the log file,run the following SQL script.

                   set pagesize 500

                   col message_text format a99

                   spool log.txt

           select message_text from fnd_log_messages where log_sequence > &log_sequence;

           Use the log_sequence number which is obtained from the point 1.           


Note: For 11.5.9 and prior, there will be NO WIP debug log files generated for online cases.

How to generate WIP log files in BACKGROUND cases?


     For 11.5.10 and above, the WIP debug log files will be created if

     1.  FND: Debug Log Filename = (Make sure this is null)

     2.  FND: Debug Log Enabled= Yes

     3.  FND: Debug Log Level = Statement

     4.  FND: Debug Log Module = WIP%

          To get the log file, run the following SQL script. This will create an output called MoveBG.txt

            set pagesize 500

            col message_text format a99

            spool MoveBG.txt

            select message_text from fnd_log_messages where audsid=(select oracle_session_id from fnd_concurrent_requests where   


          request_id = &Concurrent_Request_Id) order by log_sequence;

            spool off

    For 11.5.9 and prior, the WIP debug log files will be created if

      1.  TP: WIP Concurrent Message Level = Message Level 2

      2.  TP: WIP Debug Directory = "valid directory from v$parameter"

               You can use the following query to find out a valid directory.

                select value from v$parameter where name=utl_file_dir;

     3.  TP:WIP Debug File = "valid filename"

     4.  MRP: Debug Mode = Yes

本篇文章来源于 Linux公社网站(www.linuxidc.com)  原文链接:http://www.linuxidc.com/Linux/2012-06/63724.htm

Oracle EBS各个模块日志收集的方法的更多相关文章

  1. 转:oracle ebs po模块一揽子采购协议小结

    转自:http://yedward.net/?id=193 oracle ebs po模块一揽子采购协议小结 本文总结oracle ebs采购订单(po)模块一揽子采购协议的相关知识,总结如下: 1. ...

  2. Scribe+HDFS日志收集系统安装方法

    1.概述 Scribe是facebook开源的日志收集系统,可用于搜索引擎中进行大规模日志分析处理.其通常与Hadoop结合使用,scribe用于向HDFS中push日志,而Hadoop通过MapRe ...

  3. Oracle EBS BOM模块常用表结构

    表名: bom.bom_bill_of_materials  说明: BOM清单父项目  BILL_SEQUENCE_ID NUMBER 清单序号(关键字)ASSEMBLY_ITEM_ID NUMBE ...

  4. Oracle EBS 启动调试日志

    SELECT   * FROM dba_source t WHERE t.TEXT LIKE '%PO_PDOI_TAX_CALCULATION_ERR%' FND:启用调试日志 FND:调试日志级别 ...

  5. Scribe日志收集工具

    Scribe日志收集工具 概述 Scribe是facebook开源的日志收集系统,在facebook内部已经得到大量的应用.它能够从各种日志源上收集日志,存储到一个中央存储系统(可以是NFS,分布式文 ...

  6. ELK 经典用法—企业自定义日志收集切割和mysql模块

    本文收录在Linux运维企业架构实战系列 一.收集切割公司自定义的日志 很多公司的日志并不是和服务默认的日志格式一致,因此,就需要我们来进行切割了. 1.需切割的日志示例 2018-02-24 11: ...

  7. Oracle GI 日志收集工具 - TFA 简介

    转载自:https://blogs.oracle.com/Database4CN/entry/tfa_collector_%E4%BB%8B%E7%BB%8D 1.TFA的目的: TFA是个11.2版 ...

  8. Oracle GI 日志收集工具 - TFA

    1.TFA的目的: TFA是个11.2版本上推出的用来收集Grid Infrastructure/RAC环境下的诊断日志的工具,它可以用非常简单的命令协助用户收集RAC里的日志,以便进一步进行诊断:T ...

  9. 14.2-ELK 经典用法—企业自定义日志收集切割和mysql模块

    本文收录在Linux运维企业架构实战系列 一.收集切割公司自定义的日志 很多公司的日志并不是和服务默认的日志格式一致,因此,就需要我们来进行切割了. 1.需切割的日志示例 2018-02-24 11: ...

随机推荐

  1. python基础面试

     1  请用自己的算法, 按升序合并如下两个list, 并去除重复的元素: list1 = [2, 3, 8, 4, 9, 5, 6]list2 = [5, 6, 10, 17, 11, 2] 答案: ...

  2. Struts1开山篇

    ·本次学习的是Struts1的最终版本--struts-1.3.10. ·开发环境: Java版本:1.8.0_131 Tomcat版本:apache-tomcat-9.0.0.M21 下下来完整安装 ...

  3. [Vijos 2024]无向图最短路径

    Description 无向图最短路径问题,是图论中最经典也是最基础的问题之一.本题我们考虑一个有 $n$ 个结点的无向图 $G$.$G$ 是简单完全图,也就是说 $G$ 中没有自环,也没有重边,但任 ...

  4. ●BZOJ 3796 Mushroom追妹纸

    题链: http://www.lydsy.com/JudgeOnline/problem.php?id=3796 题解: 题意:    给出三个串 A,B,C    找出一个最长串 S,    使得 ...

  5. 51Nod 1331 狭窄的通道

    有一个长为L的狭窄通道,我们假设这个通道在x轴上,其两个出口分别在x=0与x=L处.在这个通道里有N只狼,第i只狼有一个初始位置ai,它想到达位置bi(0<=i=L处空间足够大可以装下任意数量的 ...

  6. [bzoj4868][Shoi2017]期末考试

    来自FallDream 的博客,未经允许,请勿转载,谢谢. 有n位同学,每位同学都参加了全部的m门课程的期末考试,都在焦急的等待成绩的公布.第i位同学希望在第ti天或之前得知所.有.课程的成绩.如果在 ...

  7. Django+nginx+uwsgi部署教程(centos7+ubuntu16.4)

    在线教育平台项目演示地址 项目部署教程 1.1.工作原理介绍 django 一个基于python的开源web框架 uwsgi 一是一个web服务器,也可以当做中间件 nginx 常用高性能代理服务器 ...

  8. UDA机器学习基础—交叉验证

    交叉验证的目的是为了有在训练集中有更多的数据点,以获得最佳的学习效果,同时也希望有跟多的测试集数据来获得最佳验证.交叉验证的要点是将训练数据平分到k个容器中,在k折交叉验证中,将运行k次单独的试验,每 ...

  9. IBM-x3650做RAID5更换硬盘后rebuild步骤分享

    1.按Ctrl+H进入WebBIOS配置 2.点击start 3.点击Drives,对slot5进行配置 4.选择slot5,选择Properties,点击Go按钮 5.选择MakeUnconfGoo ...

  10. 轻松理解AOP问题

    先说一个Spring是什么吧,大家都是它是一个框架,但框架这个词对新手有点抽象,以致于越解释越模糊,不过它确实是个框架的,但那是从功能的角度来定义的,从本质意义上来讲,Spring是一个库,一个Jav ...