Functional fnd debug logging
Hai all,
Am following one sr for which oracle advised to enable fnd debug logging for AP and to upload the FND debug logs .. so am following note 458371.1 .. So I enabled the profiles at the user level.. and execute a plsql proc with some runtime parameters ( as per the requirement from oracle).. and when am checking user_dump_dest for the FND logs I couldn't able to find any.
Please guide me
r12.0.4 on solaris
Kai
Kai,
You need to disable logging profile options in the application. For more details, please refer to this thread.
Problem with 11.5.10.2
Re: Problem with 11.5.10.2
Regards,
Hussein
Similar Messages
-
Hi All,
In which location FND: Debug logs be available for any of the dev instances.
Thanks,
NareshCheck FND_LOG_MESSAGES table.
SELECT log.module , log.message_text message
FROM fnd_log_messages log,
fnd_log_transaction_context con
WHERE con.transaction_id = < request_id >
--AND con.transaction_type in ( 'REQUEST','FORM','ICX','SERVICE)
AND con.transaction_context_id = log.transaction_context_id
ORDER BY log.log_sequence;Please refre the following MOS notes as well:
How to enable and retrieve FND debug log messages [ID 433199.1]
How to Obtain Debug Log in R12 [ID 787727.1]
How to Purge/Troubleshoot the FND_LOG_MESSAGES table [ID 735138.1]
Cheers,
ND
Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered. -
How to collect debug logs for custom module only in EBS by AppsLog.write?
Hi,
Customer is trying to retrieve logs for their custom module (XXKCZ) and
put it to /log/kcz.log by using AppsLog.write() method. (refer to sample code below)
Customer has set these profile values in the application level and removed the values
in the site level. But the file /log/kcz.log is created but does not have any lines in it.
Is there something wrong to the coding of AppsLog.write?
Application Name "xxkcz"
FND: Debug Log Enabled "Y"
FND: Debug Log Module "xxkcz%"
FND: Debug Log Level "UNEXPECTED"
FND: Debug Log Filename "/log/kcz.log"
---- [Sample Code starts] ----
Package jp.kaikei.oracle.apps.xxkcz.util.server;
import oracle.apps.fnd.common.AppsContext;
import oracle.apps.fnd.common.AppsLog;
import oracle.apps.fnd.common.Log;
public class CommonLog{
public void initLog() {
AppsContext appsCtx = new AppsContext();
AppsLog appsLog = appsCtx.getAppsLog();
appShortname = "xxkcz"
message ="Message started"
CLASS_NAME = "jp.kaikei.oracle.apps.xxkcz.util.server.CommonLog";
String moduleName = appShortName + "." + CLASS_NAME + ".initlLog;
appsLog.write(moduleName, message, Log.UNEXPECTED)
---- [Sample Code ends] ----
Any advise?
Thanks.May be some initialization is missing,
I have created my own writetoFile method,
if you want you can try this,
* Method to write the debug messages into a File
public void writeFile(String debugMsg, String userName)
String logDir = (String)this.getOADBTransaction().getProfile("XXPO_OA_PDT_PDT_DEBUG_DIR");
BufferedWriter out;
//DateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");
Date date = new Date();
// if(logDir ==null)
// logDir = "/ebsgld/ebsgldcomn/temp/";
String fileName = logDir+userName+"-pdt_log.log";
//createDiag(XXPO_APP_SHORT_NAME,"[AM]fileName "+fileName);
try
out = new BufferedWriter(new FileWriter(fileName,true));
out.write("\n\n" + debugMsg);
out.close();
} catch (IOException e)
//System.out.println("exception in Writing the log file "+e.toString());
//createDiag(XXPO_APP_SHORT_NAME,"[AM] Exception in Writing the log file "+e.toString());
//Only start and end file
if(debugMsg.indexOf("##########")!=-1)
String impFileName = logDir+userName+"-pdt_imp_log.log";
// System.out.println("File Name is "+fileName);
try
out = new BufferedWriter(new FileWriter(impFileName,true));
out.write("\n\n" + debugMsg);
out.close();
} catch (IOException e)
createDiag(XXPO_APP_SHORT_NAME,"[AM] exception in Writing the log imp file "+e.toString());
With regards,
Kali.
OSSI. -
제품 : FIN_AR
작성날짜 : 2006-05-24
AR FORM 에서 DEBUG LOG 생성하는 방법
============================
PURPOSE
AR 의 주요 Form 에서 문제가 발생했을 경우 Debug log 를 발생 시켜 확인 할 수 있도록 한다.
Explanation
Debugging을 제공하는 주요 AR Forms:
Transactions workbench (ARXTWMAI)
Receipts workbench (ARXRWMAI)
Collections (ARXCWMAI)
단, ARXCUDCI Form 은 해당 하지 않는다.
Debug Setup 순서
주의)
만약 11.5.9 이상의 경우라면
<AR: Enable Debug Message Output> Profile 이 user level 에서 enable 되어 있어야 한다.
11.5.10 이면서 ARP_STANDARD (ARPLSTDB.pls) Version이 115.36이며 아래와 같이 작업 한다.
To turn on the debugging:
Set the following profiles:
FND: Debug Log Enabled = YES
FND: Debug Log Filename = NULL
FND: Debug Log Level = STATEMENT (most detailed log)
FND: Debug Log Module = % or ar% or even ar.arp_auto_rule%
만약 11.5.10 MAINTENANCE PACK (Patch 3140000) 을 적용한 경우라면
<FND: Debug Log Enabled> 이 <FND: Log Enabled> 로 그리고
<FND: Debug Log Level> 가 <FND: Log Level> 로 대체 될 것이다.
1. 문제가 발생한 Form 에 접속하여 문제 재현을 시작 한다. 문제가 발생하기 직전 까지 진행 한다.
2. menu에서 help/diagnostic/examine 을 Click 한다.
3. Block LOV 에서 PARAMETER 를 선택한다.
4. Field 란에는 AR_DEBU_FLAG 를 직접 입력한다.
5. Value 에는 다음과 같이 입력한다.
FS <path> <file>
FS 와 patch, file 사이에는 반드시 blank 가 있어야 함을 명심한다.
a)
FS
FS creates a file, displaying Forms and Server debug messages.
b)
<path>
This is where the AR Debug Log file will be written to.
To find out where the log file must be saved, type the following in
SQL*Plus:
select value from v$parameter
where upper(name) = 'UTL_FILE_DIR';
c) Decide what to call the debug log file. For example, debug2.dbg
If the file specified already exists, the new debug messages will be
appended to it. In general, it is recommended to define a new debug file for each problem reported.
d)
Full example:
Block: PARAMETER
Field: AR_DEBUG_FLAG
Value: FS /sqlcom/log debug2.dbg
위와 같이 작업 한 후 Error 가 나도록 재현 한다.
생성된 debug log 를 확인 한다.
Example
N/A
Reference Documents
Note 152164.1 -- How To Create A Debug Log File In An AR FormNope
-
Error/Warning Messages in Agent Debug Log Files
I have noticed the following error message in the Agent Debug Log Files and was wondering if anybody could shed any light on their meaning or what might be causing them.
Warning 1855:####### ServiceEngine: Service::getPolicyResult():No passwd value in session response.
Warning 1855:####### PolicyAgent: Access Manager Cookie not found.
Error 1855:####### AM_SSO_SERVICE: SSOTokenService::getSessionInfo(): Error 18 for sso token ID <SSO_TOKEN_ID>hi
Looks like the message numbers you are processing in the function module CRM_MESSAGE_COLLECT are only for 'errors'.
Please go to Transaction: CRMC_MSGS
Look at the following Application Areas
CRM_ORDER
CRM_ORDERADM_H
CRM_ORDERADM_I
CRM_ORDER_MISC
CRM_ORDER_OUTPUT
Select one of the above and double click 'Single Messages' towards your left side on the screen. Select the relavant message number from the list and check the 'S' flag. Press 'F1' (help) on this box and you will see the following.
Only error messages are saved in the processing log. If a message definitely should be saved - contrary to this rule - then the indicator needs to be set.
You need to make sure that a message marked like this can be deleted again - by calling up the function module CRM_MESSAGES_DELETE in the appropriate place in the program.
When you do these steps, please note the message 'Do not make any changes (SAP data)'. This is not tested and used from my side. Please see if this impacts other functions. I am not sure. Do necessary R&D before you proceed further. Please explore tables CRMC_MESSAGES_S and CRMC_MESSAGES and see if this helps.
Reward if helps
Regards
Manohar -
When ever we create a form a debug.log is created and there is nothing in the file.
If we delete it then the logo in the dynamic form disappears.
Can anyone say why its formed and what is the use of this.
Thanks,
AnushaHi Sudarshan,
Please refer to the following link:
*[How to Get the R12 Trace and FND Debug File / FND Log|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=458371.1]*
*[How to Generate Receiving Transaction Debug Statements in 11.5.10 and R12|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=299497.1]*
Thanks,
Anchorage :) -
Hi,
when I´m on the test function screen of se37, I can run the function in debugging mode and it´s starting with the debugger on the first code line.
Is it also call a function from a report in this debugging mode?
thank you!
reward points guaranteedThank you for your answers...
Let me explain a little bit more in detail, what I want to do.
I have an XML interface function which is going to be called by an
external application about RFC, reading binary data,
interpreting that as XML and doing something in the SAP system afterwards.
As the system is a 4.6C I can´t debug externally, I want to provide
a debugging function in a monitoring application for that.
As people are using the monitoring, which are not familiar with all
the code behind that, I want to start the debugging mode by myself,
without setting a breakpoint.
Let me describe it like this:
When you type in /H in the transaction field in the SAP menu bar, the
debugging mode is going to be started for further actions.
All I want to do is starting that /h debug mode without typing anything
in the transaction field, just inside of the report.
How can I do that?
Michael -
How To Generate Debug Log Files for ebs jsp?
hi How To Generate Debug Log Files for ebs r12 jsp?
and where i get the log .please help me thanks!Please check following MOS Document
Oracle Application Server Diagnostic Tools and Log Files in Applications Release 12 (Doc ID 454178.1) -
Is there a debug log file for iTunes "Add to Library" failures?
I have an odd movie file (mp4, h264, AAC) that iTunes will not import. I transcode, tag and import videos all the time but this one fails silently on import. I've tried the drag n drop, import to library and auto-import folder methods. Nada. It plays fine in the standalone quicktime player, so it is somewhat compatible.
Does anyone know if and where iTunes logs these failures? I've been poking around the console app logs but cannot find anything. I'd love to know why it is rejecting it. I suspect it is a compatibility issue.
Thanks
DrewThanks for the reply Jim. Yes I did notice this option, it wasn't too attractive to me as it claimed the 2.5gb 720p file would be 5.5Gb after this processing! A gave it a shot anyway, but keep getting an error - "This operation cannot be completed (OSStatus error 38.)". Have to google that one some....
It's not the end of the world if I can't import this one into iTunes. But it did make me a little surprised about the seemingly complete lack of debug logging for the application. With Apple's focus on user experience, the completely silent rejection of this file, with no feedback or error message is not right.
Cheers
Drew -
Best practice for application debug logging?
I am building a webcenter portal using Oracle Webcenter 11.1.1.1.5 and deploying on Oracle Weblogic Server 11g. Please suggest what is the best practice to use for application debug logs. Should I use log4j or Apache commons library? Is it possible to manage the logs (enable/ disable/ change severity) of the logs using WLS admin console?
You might want to read the chapter about AM Granularity in the ADF Developer Guide:
http://download.oracle.com/docs/html/B25947_01/bcservices009.htm#sm0229 -
I am building a webcenter portal using Oracle Webcenter 11.1.1.1.5 and deploying on Oracle Weblogic Server 11g. Please suggest what is the best practice to use for application debug logs. Should I use log4j or Apache commons library? Is it possible to manage the logs (enable/ disable/ change severity) of the logs using WLS admin console?
In a production (or even test environment) you can use the enterprise manager of weblogic to analyse the error log files. I believe this is done by using Log4j.
For each application you can request the logs based upon severity.
Here's some information about the weblogic logging system: http://download.oracle.com/docs/cd/E21764_01/web.1111/e13739/toc.htm
I can't seem to find the documentation about the enterprise manager... I'll see if i can find the documentation and update the post.
Otherwhise i have written a section about the log files in my book: http://www.packtpub.com/oracle-webcenter-11g-ps3-administration-cookbook/book in the chapter managing webcenter applications. I show how you can analyse and filter messages in the log. -
Debug.log in Today Records - What Does It Mean? Help Please!
Every day, my computer generates dozens of debug.log files in the today records... Some say debug.log.xxxxxxx.sent and some say debug.log.xxxxx.upload. What does it mean? How do I get rid of it? Please help! Is it (gulp) a virus? Can't find any info via google...
i have the same problem...!!I find that files in a folder called Akamai...HELP
-
Strange stuff in my PCM debug.log
I have been installing patches on a number of machines and they were not
going away in my patches list for the devices. Looking in my debug.log I am
seeing the following strange entries on a number of patches. Normally it
would list a file or a registry entry related to the patch. I see
patchlink.com related entries for most patches. Anyone have an idea on this
one?
Jim Koerner
Server - ZCM 11.2.3aMU1 and Internal Database on Win2008R2x64
Clients - ZCM 11.2.3aMU1 on Win7SP1x64
Definition Update for Microsoft Office 2010 32-Bit Edition (KB982726).pls
Importing
Filename : [Definition Update for Microsoft Office 2010 32-Bit Edition
(KB982726).pls]
OS Platform : [Microsoft Windows 7 Professional x64]
Library Build : [6.1.0][Jan 24 2013 17:20:55]
Finished Importing
Detecting
Looking In: [HKEY_LOCAL_MACHINE][SOFTWARE\PatchLink.com\Discovery
Agent\NativeScan\cb55ff8a-312d-422b-a925-4bace4c8e67d\477255e0-384f-4945-a171-a065f53a0285]
Key NOT found
Finished Detecting
Opening file:
Definition Update for Microsoft Office 2010 64-Bit Edition (KB982726).pls
Importing
Filename : [Definition Update for Microsoft Office 2010 64-Bit Edition
(KB982726).pls]
OS Platform : [Microsoft Windows 7 Professional x64]
Library Build : [6.1.0][Jan 24 2013 17:20:55]
Finished Importing
Detecting
Looking In: [HKEY_LOCAL_MACHINE][SOFTWARE\PatchLink.com\Discovery
Agent\NativeScan\fa089781-f9d1-4d57-be25-10a14121d2e6\2d72b783-bb7c-4184-9c2d-ce0b6aa74469]
Key NOT found
Finished Detecting
Opening file:
Definition update for Microsoft Office 2013 32-Bit Edition (KB2760587).pls
Importing
Filename : [Definition update for Microsoft Office 2013 32-Bit Edition
(KB2760587).pls]
OS Platform : [Microsoft Windows 7 Professional x64]
Library Build : [6.1.0][Jan 24 2013 17:20:55]
Finished Importing
Detecting
Looking In: [HKEY_LOCAL_MACHINE][SOFTWARE\PatchLink.com\Discovery
Agent\NativeScan\b9d667af-d11f-4ba6-9211-e90e4f700c88\e140dd08-dfdc-4874-928c-48291ffbb994]
WOW64: ON
Key found
Looking In: [HKEY_LOCAL_MACHINE][SOFTWARE\PatchLink.com\Discovery
Agent\NativeScan\b9d667af-d11f-4ba6-9211-e90e4f700c88\e140dd08-dfdc-4874-928c-48291ffbb994]
WOW64: ON
Value [isInstalled] was found
Data Found: [False], Check Against: [true]
Data did NOT match
Finished Detecting"Jim Koerner" <[email protected]> wrote:
> Here's the TID for the issue
>
> http://www.novell.com/support/kb/doc.php?id=7012721
>
> I like the wording in the TID "some patches". I would say a awful lot of
> patches, the bug renders patch management useless until this is fixed. I
> installed about 100 patches on a new Win7x64 machine today and the
> required patch list barely changed afterwards.
>
> Jim
>
>
> "Shaun Pond" wrote in message news:[email protected]..
>
> Jim,
>
> yes, I saw an update from Lumension, they think they've fixed the issue
> and it should be in 11.2.4
I'm on vacation, but I know my colleagues are pressing hard on this... -
DNS debug logging to determine if 2008R2 DNS server is still being queried?
We are removing multiple DNS servers. We have removed those servers from DNS reference from all dhcp scopes, and ran script across all windows servers to make sure they are not being used. There still might be Linux/telecom/workstations manually
set that we do not know about, so I was going to use debug logging just to look for queries that are coming and to try and determine where they came from. I have debug logging set to log packets for Incoming, UDP, Queries/Transfers, and Request, but having
trouble figuring out this log. Here is an example of what I am seeing. Does anyone have a reference for this? I am having trouble finding one.
Is this saying that a computernamed POS188 made a query for a host(A) record? or is it saying that a query came in from 128.1.60.221 for a host(A) record named POS188? Just looking for reference to help explain this. The good news is the only
IP address that shows(128.1.60.221) is the IP of the DNS server, but the only thing I could find for reference was this -
http://technet.microsoft.com/en-us/library/cc776361(WS.10).aspx
9/16/2014 12:05:23 AM 1144 PACKET 000000000624CBD0 UDP Rcv 128.1.60.221 8952 Q [0001 D NOERROR] A
(8)POS188(11)contoso(3)com(0)
Thanks,
Dan HeimHi Dan,
The example you provide means that the DNS server receive a packet sent by 128.1.60.221,and the packet is used to query a host(A) record named POS188.contoso.com.
And the detail information about each field of the message is shows below. It is also showed in the dns.log.
Message logging key (for packets - other items use a subset of these fields):
Field # Information Values
1 Date
2 Time
3 Thread ID
4 Context
5 Internal packet identifier
6 UDP/TCP indicator
7 Send/Receive indicator
8 Remote IP
9 Xid (hex)
10 Query/Response R = Response
blank = Query
11 Opcode
Q = Standard Query
N = Notify
U = Update
? = Unknown
12 [ Flags (hex)
13 Flags (char codes) A = Authoritative Answer
T = Truncated Response
D = Recursion Desired
R = Recursion Available
14 ResponseCode ]
15 Question Type
16 Question Name
The corresponding example:
9/16/2014 12:05:23 AM 1144 PACKET 000000000624CBD0 UDP
Rcv 128.1.60.221 8952 Q [0001
D NOERROR] A
(8)POS188(11)contoso(3)com(0)
Best Regards,
Tina -
How to easily export/download "Debugging & Logging Log Files" data?
In the Debugging & Logging > Log Files screen/page, are there workarounds for easily export/download the data that's listed in that screen? I do not want to download the log. Basically, all I want is the table that shows the File Name, Type Size, and Last Modified information.
Thank you,
CharlieNot really, but if you copy and paste the table and stick it in ms word or something it will retain its layout, you can then just save it, or just take a screenshot. It all depends on what you planning on using the export for. Why do you need that information specifically, this will depend on the way to do it. If its something you want often and automatically then you can just generate the information yourself using some Coldfusion and the logs directory.
Maybe you are looking for
-
How do I save a specific layer as an audio file
I needed a second audio file and created a layer and placed my video file that has the audio I want in that layer. I edited the audio in that layer and now I want to save the result as an audio file.. preferably an MP3 file. How do I select a specif
-
Watchnet DVR access thru Airport Extreme _
Just moved from linksys to Airport Extreme. Everything seems to work fine but I have security cameras hooked up to Watchnet DVR. I can you view on the network locally but am having trouble accessing the cameras remotely. I did port forwardingbut ca
-
Iphone can not be updated because the firware file is mot compatible... This is the message i have received when I wantted to update my Phone 4...any clues? Thank you!
-
HT1178 Best Location for Time capsule (Does it help if placed Higher in the room?)
1500 Sq Ft Ranch - Hallway between computer room and open sapce of living room, kitchen, & dinning room + entrance to Master bedroom and would it be better to locate in the very center of the home. Our Older time Capsule reaches to the open area in t
-
Music when opening home page?
I am trying to have music immediately come on when my home page is opened! (without clicking on anything)I am successful in placing music, but you have to click on it! Can any one help ? Thanks