Viewing and Downloading log files
Using Fusin EM Control
Jasti, Baji Babu - WUK0830 Ripon Tech
2/25/2016
This Document Explains about the process for viewing required log files from Oracle Fusion
Middleware Control and also explains the process to download
Viewing and Downloading log files
Contents
Summary ................................................................................................................................................. 3
Options.................................................................................................................................................... 3
Access to UNIX Servers ....................................................................................................................... 3
Access Logs from EM Control.............................................................................................................. 3
Our Recommendation............................................................................................................................. 3
View and Download Log Files ................................................................................................................. 3
Search Logs ......................................................................................................................................... 4
View Logs ............................................................................................................................................ 4
Download Log Files ............................................................................................................................. 4
What Type of Files you can View/Download .......................................................................................... 4
What else ................................................................................................................................................ 5
| Summary 2
Viewing and Downloading log files
Summary
Sometimes Wolseley’s Development Teams may require reviewing the Middleware log files to
investigate issues related to Problems or Incidents. Also sometimes it’s just to understand the
behaviour of application during development stages. All these log files are written to backend
servers.
Options
There are couple of ways we can achieve this and in all of them, below are two most popular
methods:
Access to UNIX Servers
Problem with this option is when log files are created or rotated; they will have 740 permissions
which mean user who belongs to any groups other than “oinstall” cannot read those log files.
We can provide full access (777) to existing files, but when these log files are rotated/created
again, they will go back to old (default) permissions.
One way to avoid this is to change “umask” at OS level, but some of Oracle scripts will update
“umask” parameters during runtime. And we would not prefer updating these oracle scripts
manually.
Access Logs from EM Control
Most of Development teams have access to Weblogic Console and Fusion Middleware EM
Control either at minimum Monitor or highest Admin Access.
Oracle already provided an option to view and download current and archived log files from EM
Control. And I think this is the perfect solution to review log files.
Our Recommendation
As it is simple and straight forward option, we recommend using EM Control to review and
download log files.
This document explains the process on how to achieve our recommended method.
View and Download Log Files
Login to EM Control using your authorized
username and password
From Navigation Panel (Panel in Left),
expand “Weblogic Domain” and futher
expand “SOA_Cluster” and right-click on
“WLS_SOA1”
Navigate to “Logs” -> “View Log Messages”
| Summary 3
Viewing and Downloading log files
Search Logs
Now you will be taken to “Log Messages” default page where you can use search
function to search for a particular message.
You also have various filters to go for retrieving more accurate messages.
View Logs
If you prefer reading the full log file, follow below process:
On Top right side (just before “Manual Refresh”), you should see “Target Log Files” and
Click on that Button.
Now you have been taken to “Log Files” page and you should see several log files listed.
You also have two options i.e. “View Log File” or “Download”.
To view full log file, select a preferred (log file you want to monitor) log file and click on
“View Log File”
Download Log Files
To download a Log files, select a preferred (log file you want to monitor) log file and click on
“Download”
File will be downloaded to you Local Computer. – Please now that if you are on “View Log
File” page for any log file, you can directly download from that page only.
What Type of Files you can View/Download
All kinds of log files we normally see under $DOMAIN_HOME/servers/{serverName}/logs
Ex: Files ending with “.log” extension
Files ending with “.out” extension
Diagnostic log files
Managed Server Access logs
Domain Logs - Only for Admin Server
| What Type of Files you can View/Download 4
Viewing and Downloading log files
What else
You can use this same process for monitoring any log file belongs to any Managed Server.
Ex: Admin Server
SOA Cluster and Managed Servers
BAM Cluster and Managed Servers etc.
If you see any issues viewing or downloading, please do not do anything (even if you have Admin
Access) and contact SOA Admin Team with details of issue
| What else 5