Tracing and Diagnostics 12-13
For additional information on managing and viewing the log files, refer to the Oracle Fusion Middleware Administrator’s Guide.
12.6.4 Location of Log Files
The default servlet log file is named formsapp-diagnostic.log. It is written to the WLS_FORMSlogs directory of the Oracle WebLogic Managed Server to which Forms
is deployed.
In Oracle Forms Services, the full path is: DOMAIN_HOMEserversWLS_FORMSlogsapplication
name-diagnostic.log The trace logs are stored in files named forms_pid.trc by default, where pid is the
process ID of the user session. The default location of the trace log is: ORACLE_INSTANCEFormsComponentformstraceforms_pid.trc
Use the Translate Utility described in Section 12.4.1, Running the Translate Utility
to view them.
12.6.5 Example Output for Each Level of Servlet Logging
The following are examples of the type of output you get when you use the following levels of logging:
■
none
■
session
■
sessionperf
■
perf
■
debug
12.6.5.1 none
[2008-09-10T06:58:47.106-07:00] [WLS_FORMS] [NOTIFICATION] [FRM-93100] [oracle.forms.servlet] [tid: 11] [ecid: 0000HlCYKnmD4i8nvgy0V118lx4u000000,0]
[APP: formsapp] [arg: configFileName: configfilename
testMode: false] Initializing the Forms Servlet. Initialization parameters are:[[
configFileName: configfilename testMode:
false ]]
[2008-09-10T06:58:53.517-07:00] [WLS_FORMS] [NOTIFICATION] [FRM-93180] [oracle.forms.servlet] [tid: 11] [ecid: 0000HlCZfTDD4i8nvgy0V118lx4u000003,0]
[APP: formsapp] [arg: envFile: null
WorkingDirectory: null executable: null
WaitTime: 500 MaxBlockTime: 1000]
Initializing ListenerServlet. Initialization parameters are:[[
envFile: null WorkingDirectory: null
executable: null WaitTime: 500
12-14 Forms Services Deployment Guide
MaxBlockTime: 1000 ]]
12.6.5.2 session
[2008-09-11T07:35:01.507-07:00] [WLS_FORMS] [NOTIFICATION:16] [FRM-93251] [oracle.forms.servlet.session] [tid: 14] [ecid:
0000HlHpYGDD4i8nvgy0V118mFuv00000V,0] [SRC_CLASS: oracle.forms.servlet.RunformSession] [APP: formsapp] [SRC_METHOD: init] [FORMS
SESSION_ID: ..8] [arg: supadhya-pc1] [arg: 10.177.254.46] Runtime session started for client pc1 IP address ip address.
2008-09-11T07:35:01.798-07:00] [WLS_FORMS] [NOTIFICATION:16] [FRM-93548] [oracle.forms.servlet.session] [tid: 14] [ecid:
0000HlHpYGDD4i8nvgy0V118mFuv00000V,0] [SRC_CLASS: oracle.forms.servlet.RunformProcess] [APP: formsapp] [SRC_METHOD: connect] [FORMS
SESSION_ID: ..8] [arg: 7765] Runtime process ID is 7765. 2008-09-11T07:38:11.372-07:00] [WLS_FORMS] [NOTIFICATION:16] [FRM-93252]
[oracle.forms.servlet.session] [tid: 14] [ecid: 0000HlHpYGDD4i8nvgy0V118mFuv00000V,0] [SRC_CLASS:
oracle.forms.servlet.RunformSession] [APP: formsapp] [SRC_METHOD: stop] [FORMS SESSION_ID: ..8] Forms session ended.
12.6.5.3 sessionperf
[2008-09-11T07:40:25.923-07:00] [WLS_FORMS] [NOTIFICATION:16] [FRM-93251] [oracle.forms.servlet.sessionperf] [tid: 17] [ecid:
0000HlHqlS9D4i8nvgy0V118mFuv00000Y,0] [SRC_CLASS: oracle.forms.servlet.RunformSession] [APP: formsapp] [SRC_METHOD: init] [FORMS
SESSION_ID: ..9] [arg: pc1] [arg: 10.177.254.46] Runtime session started for client pc1 IP address 10.177.254.46.
2008-09-11T07:40:26.223-07:00] [WLS_FORMS] [NOTIFICATION:16] [FRM-93548] [oracle.forms.servlet.sessionperf] [tid: 17] [ecid:
0000HlHqlS9D4i8nvgy0V118mFuv00000Y,0] [SRC_CLASS: oracle.forms.servlet.RunformProcess] [APP: formsapp] [SRC_METHOD: connect] [FORMS
SESSION_ID: ..9] [arg: 8023] Runtime process ID is 8023. 2008-09-11T07:40:43.593-07:00] [WLS_FORMS] [NOTIFICATION:16] [FRM-93252]
[oracle.forms.servlet.sessionperf] [tid: 17] [ecid: 0000HlHqlS9D4i8nvgy0V118mFuv00000Y,0] [SRC_CLASS:
oracle.forms.servlet.RunformSession] [APP: formsapp] [SRC_METHOD: stop] [FORMS SESSION_ID: ..9] Forms session ended.
[2008-09-11T07:40:43.594-07:00] [WLS_FORMS] [TRACE] [FRM-93710] [oracle.forms.servlet.sessionperf] [tid: 17] [ecid:
0000HlHqlS9D4i8nvgy0V118mFuv00000Y,0] [SRC_CLASS: oracle.forms.servlet.RunformSession] [APP: formsapp] [SRC_METHOD: stop] [FORMS
SESSION_ID: ..9] [arg: 1.557] [arg: 6] [arg: 0] [arg: 1.000] [arg: 0.259] [arg: 5106] [arg: 352] Total duration of network exchanges is 1.557.[[
Total number of network exchanges is 6 0 long ones over 1.000 sec. Average time for one network exchange excluding long ones is 0.259.
Total number of bytes sent is 5106. Total number of bytes received is 352.
]]
12.6.5.4 perf
[2008-09-11T07:42:46.560-07:00] [WLS_FORMS] [NOTIFICATION:16] [FRM-93251] [oracle.forms.servlet.perf] [tid: 14] [ecid: 0000HlHrJmWD4i8nvgy0V118mFuv00000,0]
[SRC_CLASS: oracle.forms.servlet.RunformSession] [APP: formsapp] [SRC_METHOD: init] [FORMS_SESSION_ID: ..10] [arg: pc1] [arg: 10.177.254.46] Runtime
session started for client pc1 IP address ip address. [2008-09-11T07:42:46.854-07:00] [WLS_FORMS] [NOTIFICATION:16] [FRM-93548]
Tracing and Diagnostics 12-15
[oracle.forms.servlet.perf] [tid: 17] [ecid: 0000HlHqlS9D4i8nvgy0V118mFuv00000Y,0] [SRC_CLASS: oracle.forms.servlet.RunformProcess] [APP: formsapp] [SRC_METHOD:
connect] [FORMS_SESSION_ID: ..10] [arg: 8149] Runtime process ID is 8149. [2008-09-11T07:42:46.865-07:00] [WLS_FORMS] [TRACE:16] [FRM-93700]
[oracle.forms.servlet.perf] [tid: 17] [ecid: 0000HlHqlS9D4i8nvgy0V118mFuv00000Y,0] [SRC_CLASS: oracle.forms.servlet.ListenerServlet] [APP: formsapp] [SRC_METHOD:
doPost] [FORMS_SESSION_ID: ..10] [arg: 0.011] [arg: 8] [arg: 8] [arg: null] Request duration is 0.011 seconds. Request size is 8 bytes; response size is 8
bytes. [2008-09-11T07:42:47.921-07:00] [WLS_FORMS] [TRACE:16] [FRM-93700]
[oracle.forms.servlet.perf] [tid: 17] [ecid: 0000HlHqlS9D4i8nvgy0V118mFuv00000Y,0] [SRC_CLASS: oracle.forms.servlet.ListenerServlet] [APP: formsapp] [SRC_METHOD:
doPost] [FORMS_SESSION_ID: ..10] [arg: 0.438] [arg: 272] [arg: 5022] [arg: null] Request duration is 0.438 seconds. Request size is 272 bytes; response size is
5022 bytes.
12.6.5.5 debug