Oracle EBS WIP模組Debug Log收集方法

來源:互聯網
上載者:User

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.