What are the different types of log files we have ? what is the use of each log file ?

Questions by kirankumar samudrala   answers by kirankumar samudrala

Showing Answers 1 - 6 of 6 Answers

Suresh B

  • Jan 17th, 2012
 

SystemOut.log - standard JVM output log
• Indicates if the code running on the Application Server started and stopped successfully.
• Destination and name are configurable.
• Can be used for user messages.
• SystemErr.log - standard JVM error log
• Identifies exceptions thrown by the code running on the Application Server.
• Destination and name are configurable.
• startServer.log and stopServer.log
• Describes the startup and shutdown of the Application Servers.
• activity.log: events that show a history of activities
• Use Log Analyzer to read output from this file.
• Located at: logs
• http_plugin.log - plug-in trace log
• Errors and data from the Web server plug-in.
• trace.log - output from diagnostic trace.
• Destination and name are configurable.
All WebSphere Application Server log files are under the logs directory,. where is the WebSphere Application Server installation directory (for Windows 2000 the default is: C:Program FilesWebSphereAppServer).

SystemOut.log and SystemErr.log are the default names for the JVM logs. They contain server and user program information (sent by: System.out.xxx code in the program). The default location is

logs.
startServer.log and stopServer.log can also be found under the logs directory. These files contain information logged by the server as it starts up and shuts down.

The activity.log file contains information about normal events that are occurring to the system. For example, when a module is first accessed and loaded into the server container, or when a JSP is compiled, or when requests are directed from the HTTP server to the Application Server. Activities such as these are time stamped and recorded in the activity.log file. The activity.log file size can be set.

The default value is 1024K, or 1 megabyte. The minimum size is 8K and maximum is 1048576K (1 gigabyte). To do this, set the com.ibm.ws.ras.ActivityLogSize value in the logging.properties file in the properties directory.

  Was this answer useful?  Yes

Ragapriya Sukumaran

  • Feb 21st, 2013
 

1. JVM Logs : SystemOut.log and SystemErr.log - Log files for viewing the status of starting, stopping of servers.
2. Process Logs : Native_stdout.log and Native_stderr.log - The logs where the Garbage collection information are stored
3. IBM Service Logs : Activity.log - holds the history of activities performed, analysed using a Log Analyser tool.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions