Beruflich Dokumente
Kultur Dokumente
Give Feedback...
Copyright (c) 2020, Oracle. All rights reserved. Oracle Confidential.
12.2 E-Business Suite - Collecting Fusion Middleware Log Files (Doc ID 1362900.1) To Bottom
Goal Yes
No
Solution
Section 1: Steps to collect log files
Document Details
Alternative...
Section 2: Steps to configure higher Debug levels and collect log files
Type:
Section 4: Collecting configuration Information HOWTO
Status:
PUBLISHED
Last Major
Update: 29-Jun-2019
Appendix A: Script for automatically clearing contents of log files Last 03-Dec-2019
Update: English
References
Language:
This note provides steps to enable extra debug and automate collection of log files required for debugging issues. Any changes
Document References
made to increase log levels should be reverted once the information is collected. Oracle does not recommend detailed logging be
turned on for extended periods, especially in production. Oracle Applications E-Business
Suite 12.2 Fusion Middleware
Log Files: Locate,View, and
SOLUTION Control [1366187.1]
This section should be followed by customers who are creating service requests for issues that have perhaps already occurred or [1355068.1]
which are not easily reproducible. This section does not enable extra debug - it simply collects log files at whatever debug levels Controlling Node Manager Log
are currently configured. In some cases the debug collected here may not suffice and in that case you may be directed by Level [821416.1]
/
These 2 commands will create zip files in the /tmp directory with names including server name and date. e.g.
server.customer.com_092811.2005_OPMN_OHS.zip. Please collect these files from the /tmp directory and upload them to your
service request.
Alternative...
Use the following script to gather the Apache, WLS and Apps log files which have been modified in the last 1 day
###############################################################################
#### Start of script
###############################################################################
(
# pick up files which have been modified in the last 1 day only
HowManyDaysOld=1
echo "Picking up files which have been modified in the last ${HowManyDaysOld} days"
set -x
find $LOG_HOME -type f -mtime -${HowManyDaysOld} > m.tmp
find $FMW_HOME/webtier/instances/*/diagnostics/logs -type f -mtime -${HowManyDaysOld} >> m.tmp
find $FMW_HOME/wlserver_10.3/common/nodemanager/nmHome*/*.log -type f -mtime -${HowManyDaysOld} >> m.tmp
## Get log files for only the WLS servers needed. Valid server names are one or more of:
## AdminServer forms-c4ws_server forms_server oacore_server oaea_server oafm_server
for SERVERNAME in AdminServer oacore_server forms_server oafm_server
do
find $EBS_DOMAIN_HOME/servers/${SERVERNAME}*/logs -type f -mtime -${HowManyDaysOld} >> m.tmp
find $EBS_DOMAIN_HOME/servers/${SERVERNAME}*/adr/diag/ofm/EBS_domain*/${SERVERNAME}*/incident -type f -mtime
-${HowManyDaysOld} >> m.tmp
done
zip -r mzAppsLogFiles_`hostname`_`date '+%m%d%y'`.zip -@ < m.tmp
rm m.tmp
) 2>&1 | tee mzLogZip.out
###############################################################################
#### End of script
###############################################################################
Section 2: Steps to configure higher Debug levels and collect log files
This section explains the steps to enable higher logging levels to capture debug information required for resolving problems. You
may be directed to this section by Oracle Support. Follow the steps below to enable debug and collect the log files generated
after reproducing the issue. Generally speaking, increasing the log levels as per below should have only a minimal impact on
performance (max 5% degradation)
a) OPMN
To enable debug for opmn, edit $IAS_ORACLE_HOME/instances/<instance>/config/OPMN/opmn/opmn.xml
Alternatively you can increase OPMN logging for the current session by issuing command
This would enable debug for all components running on the OPMN process. However, this may not be practical in most
situations.
c) Node Manager
To adjust log levels for Node Manager edit
$IAS_ORACLE_HOME/../wlserver_10.3/common/nodemanager/nodemanager.properties
Select the servers to enable debug for. In most cases this will be the oacore servers. If you have more than one server defined
in a cluster you will need to enable debug for each server individually. Only enable logging for the managed servers that are
having issues.
On this same configuration page you will see the setting "limit number of retained files". You may need to increase this value as
extra logging may result in log files being overwritten due to excessive log file rotation.
Note: If support or the customer is directed to enable any other component besides JDBC, servlet or classloader please inform
the note author so these can be considered for addition to this note.
a) Run the technology stack inventory report to collect a list of patches applied to all middle tier homes (besides Weblogic). This
script will also report the patch level for each oracle home:
b) Provide the following files which contain managed server configuration information:
References
For more information on logging definition, rotation, location and control review Document 1366187.1 - Oracle Applications E-
Business Suite 12.2 Fusion Middleware Log Files: Locate,View, and Control
REFERENCES
NOTE:1366187.1 - Oracle Applications E-Business Suite 12.2 Fusion Middleware Log Files: Locate,View, and Control
NOTE:1355068.1 - Oracle E-Business Suite 12.2 Patching Technology Components Guide
NOTE:821416.1 - Controlling Node Manager Log Level
Related
Products
Oracle E-Business Suite > Applications Technology > Technology Components > Oracle E-Business Suite Technology Stack > Technology Stack Diagnostics > Technology Stack
Diagnostics
Oracle E-Business Suite > Applications Technology > Technology Components > Oracle E-Business Suite Performance > Generic SQL Tuning issue not associated with a specific
EBS product > Generic SQL Tuning issue not associated with a specific EBS product
Keywords
DEBUGGING; E-BUSINESS; FUSION MIDDLEWARE; HTTP; LOG FILE; LOG LEVEL; LOGGING; MANAGED SERVER; MIDDLE TIER; NODE MANAGER; NODEMANAGER; SERVICE REQUEST;
TRACE; WEB LOGIC; WEBLOGIC; WLS
Translations
English Source Japanese 日本語
Back to Top
Copyright (c) 2020, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement