Collecting WebSphere Application Server log files
You have an option on whether you want to collect all required WebSphere® Application Server log files.
Before you begin
About this task
The pimSupport.sh script file provides an option to collect all InfoSphere MDM Collaboration Server and WebSphere Application Server log files. By collecting all of the log files, this will ease data collection as the WebSphere Application Server log files have shown to be important in investigating issues.
You
have an option on whether you want to extract only log data of the
last couple of days or for a specified time range. Any time consuming
transfers of unneeded data can now be avoided. Usually, log files
are collected periodically, therefore, those files collected usually
contain large volumes. You may receive many months worth of log files.
You can now use the timestamp option with the --collectpimlogs command
to gather log files within a specified time frame. The fromtime and totime options
depend on the ConversionPattern specification given
in the $TOP/etc/default/log.xml or $TOP/etc/default/log_cbe_pattern.
xml file to understand the structure of the log entries.
The log_format parameter in the $TOP/etc/default/common.properties specifies
which one of these files are used.
Note: Do not modify the ConversionPattern string
in the file which is associated with thelog_format parameter
before the time-based filtering mechanism is used to collect the log
entries. Doing so can lead to unpredictable errors.
Procedure
- Open a command prompt.
- Type pimSupport.sh --collectpimlogs=[all | appsvr] to collect all of the InfoSphere MDM Collaboration Server and WebSphere Application Server log files.
- Optional: To collect data within a specified time range, open a command prompt and type --collectpimlogs=all [[--fromtime=<MM_dd_yyyy__HH_mm_SS>] --totime=<MM_dd_yyyy__HH_mm_SS>] where --fromtime is the start date, --totime is the end date where MM stands for the two numeric digit month, dd for the two digit day, yyyy for the four digit year, HH for the two digit hour, mm for the two digit minute, and SS for the two digit second. You will receive the log files between these two time periods.