Administer > Utility Tools > Log Toolkit

Log Toolkit

To concentrate logs and ITBA environment information into one location, proceed as follows:

  1. Go to the command window and enter:
    cd $HPBA_HOME/Tools/bin
  2. Run ./collectBAInfoAndLog.sh.

All the logs are archived in the $HPBA_HOME/maintenance/log/allLogs_$(%Y%M%D%H%M%S).tar, which includes all the logs from the different locations (Y is the year with 4 digits, M is the month with 2 digits, D is the day of the month with 2 digits, H is the hour with 2 digits (24 hour format), M is the minutes with 2 digits, and S is the seconds with 2 digits - for example: allLogs_20151221094404.tar). The single path logs are also included in the archive under their directory name.

Example: The btoaLogs_$(%Y%M%D%H%M%S).tar log located in $HPBA_HOME/glassfish/glassfish/domains/BTOA/logs/ is archived in the $HPBA_HOME/maintenance/log with the name btoaLogs_$(%Y%M%D%H%M%S).tar.

The ITBA environment information is collected in the BAInfo.xls file located in the $HPBA_HOME/maintenance/log/.