Sunday 14 May 2017

How to Analyze - JVM logs (SystemOut.log, SystemErr.log & startServer.log) of WebSphere® Application Server.

Example SystemOut.log

[1/20/17 21:02:46:527 GMT+05:30] 00000001 ManagerAdmin  I   TRAS0017I: The startup trace state is *=info.
[1/20/17 21:02:46:539 GMT+05:30] 00000001 ManagerAdmin  I   TRAS0111I: The message IDs that are in use are deprecated
[1/20/17 21:02:46:657 GMT+05:30] 00000001 ModelMgr      I   WSVR0800I: Initializing core configuration models
[1/20/17 21:02:47:351 GMT+05:30] 00000001 ComponentMeta I   WSVR0179I: The runtime provisioning feature is disabled. All components will be
[1/20/17 21:02:47:943 GMT+05:30] 00000001 AdminInitiali A   ADMN0015I: The administration service is initialized.
[1/20/17 21:02:49:880 GMT+05:30] 00000001 PluginConfigS I   PLGC0057I: The plug-in configuration service started successfully.
[1/20/17 21:02:50:061 GMT+05:30] 00000001 SSLComponentI I   CWPKI0001I: SSL service is initializing the configuration
[1/20/17 21:02:50:110 GMT+05:30] 00000001 FIPSManager   I   CWPKI0044I: FIPS security mode is : No FIPS property found. 
[1/20/17 21:02:50:124 GMT+05:30] 00000001 WSKeyStore    W   CWPKI0041W: One or more key stores are using the default password.
[1/20/17 21:02:50:187 GMT+05:30] 00000001 SSLConfigMana I   CWPKI0027I: Disabling default hostname verification for HTTPS URL connections.

  •   Time Stamp: The first part of the log message in sample code is  [1/20/17 21:02:46:527 GMT+05:30]. It is the time stamp when the message was written. The time stamp is formatted using the locale of the process and it is 24 hour time stamp with milli-second precision

  •   Thread ID : The next part in the log message is 00000012 /0000003c , which represents the thread id. The thread ID is an eight-character hexadecimal value that is generated from the hash code of the thread that issued the message

  • Short name : The short name is the abbreviated name of the component that issued the message. This name is typically the class name of a WAS component and would be some other identifier for the application. here ThreadPoolMgr , FileRepositor , TCPPort etc

  •  Event Type: The event type is a one character field that indicates the type of the message. The possible values are :- 

  •  F- Fatal message
  •  E- Error message
  • W- Warning message
  •  A- Audit message
  •  I- Informational message
  •  C- Configuration message
  •  D- detail message
  •  O- Messages that are written directly to System.out by an application or server component
  •  R- Messages that are written directly to System.err by the user application or internal component.

  •   Message identifier (TCPC0003E/WSVR0626W/ADMR0010I): The message identifier is a string that is nine characters in length and is in the form CCCC1234X. The first four characters indicate the WAS component that issues the message. The next four characters indicate the specific message that component is issuing. The last character indicates the severity of the message. Its value is either I- informational, W- Warning or E error.

  •   Message: The message is the data that is logged to the SystemOut.log by the component.

Thanks.. :-) !

No comments:

Post a Comment