Table of Contents

Search

  1. Preface
  2. Introduction
  3. Servers
  4. Console Client
  5. Search Clients
  6. Table Loader
  7. Update Synchronizer
  8. Globalization
  9. Siebel Connector
  10. Web Services
  11. ASM Workbench
  12. Cluster Merge Rules
  13. Forced Link and Unlink
  14. System Backup and Restore
  15. Batch Utilities

loggrabr Utility

loggrabr Utility

Use the loggrabr utility to retrieve the log entries from log files, error files, environment scripts, and configuration files and load the entires into a single output file. You can use the output file to troubleshoot any issues without having to refer multiple files.
The loggrabr utility uses the following format:
$SSABIN/loggrabr <Output File Name> [-f] [<Start Date>] [<Start Time>] [<End Date>] [<End Time>]
The loggrabr utility uses the following parameters:
Output File Name
Name, extension, and directory path for the output file. By default, the utility creates the output file in the current working directory.
-f
Optional. Forces the utility to overwrite any existing file that matches the output file name.
Start Date and Start Time
Optional. Date and time from which you want to retrieve the log entries based on the time stamp. Use the
yyyy-mm-dd
format to specify the date and the
hh:mm
format to specify the time.
By default, the utility retrieves all the log entries in the current environment.
End Date and End Time
Optional. Date and time up to which you want to retrieve the log entries based on the time stamp. Use the
yyyy-mm-dd
format to specify the date and the
hh:mm
format to specify the time.
By default, the utility retrieves all the log entries in the current environment.
For example, the following command retrieves the log entries from multiple files and loads them into the
output.log
file:
$SSABIN/loggrabr output.log -f 2015-04-22 11:20 2015-03-31 21:30
After you run the loggrabr utility, you can use the logfrmat utility to format the log entries in the output file and improve the readability of the output file.

0 COMMENTS

We’d like to hear from you!