html5-img
1 / 18

Log Files & Analyzing Tools

Log Files & Analyzing Tools. Jonathan Yip. Introducing Logs in Websphere. The first line of defense against problems Websphere provides many logs that give information about progress, status, and problems 3 Types of Format for different level of output: Basic Advanced Loganalyzer.

oded
Download Presentation

Log Files & Analyzing Tools

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Log Files &Analyzing Tools Jonathan Yip

  2. Introducing Logs in Websphere • The first line of defense against problems • Websphere provides many logs that give information about progress, status, and problems 3 Types of Format for different level of output: • Basic • Advanced • Loganalyzer

  3. Websphere’s Informational Logs

  4. Log File: Level of Output • Output information needed • Adjust level of output in logging property file Audit (default): Record all messages Error: Report severity errors Warning: Warning indicate a problem occurred and should be corrected. Report both severity errors or warnings

  5. Installation Logs wssetup.log • Created during processing of setup.exe • Hardware configuration • Software prerequisites present • Configuration of the Administrative Server wasdb2.log • Record the process of creation and configuration of Administrative database

  6. Administrative Server Logs 3 logs to monitor progress and errors: • _adminserverFatalError.log Serious error log • Tracefile Logs the startup and shutdown of the Administrative Server • Adminserver-stderr.log Record error during start up

  7. Application Server Logs default_server_stdout.log • Indicates failures within the Java components under Application Server • Contains exceptions thrown by the applications running under the default_server

  8. IBM HTTP Server Logs 2 logs from HTTP Server: access.log • Provides HTTP request information • Returns responses by Web server 169.254.255.129 - -[13/Feb/2002:21:11:44 –800] “GET /whole.jpg HTTP/1.1” 200 85708 • Created by CustomLog directive (Common Log Format Standard) LogFormat “%h %l %u %t \%r|” %>s %b” common

  9. IBM HTTP Server Logs (con’t) error.log • Logs any errors HTTP server encounters • ErrorLog directive to setup format Both CustomLog and ErrorLog are stored in <IBM_HTTP_HOME>\conf\httpd.conf • adminAccess.log & adminError.log provides the same logging services as the access and error logs generated by HTTP Administration service outputs

  10. Plug-in Logs native.log • Contains error and informational messages generated by the Web server plug-in • Shows information about the startup and changes applied to the server

  11. Log Analyzer • Reads error conditions in the Activity log • Analyze error conditions to provide error message explanations and, error message recovery instructions • Takes one or more activity logs merges all the data, & displays

  12. Traces • Same as Logs, but needs to be enabled • Gets additional information from IBM code base • Get operational aspects of Websphere • Options can be chosen on what to trace • If enabled, a huge system overhead generated

  13. Tracefile Log Entry Trace Log Components: Timestamp: [2/27/02 6:10:06:727 PST] Thread ID:44da7285 Component short name:StaleConnecti Level:A=Audit; W=Warning; X=Error; E=Event; D=Debug; T=Terminate; F=Fatal; I=Informational; Message:Detail information

  14. Resource Analyzer • Use to retrieve performance data from application servers • Data is collected continuously Resource Analyzer can accomplish: • View performance data in real time • Record performance information into log file • Monitor and estimate the load on application servers & the average wait time for clients • View historical performance data from the log file • View information captured in a chart • Perform a comparison evaluation for a single resource to a group of resources on a single node

  15. Represents one or more resource categories Eg. (EJB) Manipulate raw data that is collected about the application server. Data type to hold performance data Resource Analyzer Represents a physical machine Represents a server provides functionality over network manipulate the raw data that is collected about the application server.

  16. Resource Analyzer (con’t) It can collect and report performance on: • Java runtime • Database connection pools • EJBs • EJB methods • Enterprise bean object pools • Transactions • Web Applications

  17. References: Websphere Application Server Bible, Kataoka (2002) About the Websphere Resource Analyzer http://www-3.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/was/06060012.html#FIGEPMTREE-FIG Getting Started with Websphere Application Server http://www-3.ibm.com/software/webservers/appserv/doc/v40/aee/wasa_content/welcome.html

  18. END

More Related