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

logfrmat Utility

logfrmat Utility

Use the logfrmat utility to format the log entries in an output file of the loggrabr utility and load the formatted entries into an XML output file. You can use the logfrmat utility to improve the readability of its input file, which is an output file of the loggrabr utility.
The logfrmat utility groups the log entries of each log file listed in its input file into different sections, such as error summary, stack trace, and results. An error summary section describes the error, a stack trace section lists additional information about the error, and a result section lists the completed processes and their results.
The logfrmat utility also creates separate sections for the log entries retrieved from environment scripts and configuration files, SQL logs, and process logs in the output file.
The logfrmat utility uses the following format:
$SSABIN/logfrmat <Input File Name> <Output XML File Name> [-f] [<Start Date>] [<Start Time>] [<End Date>] [<End Time>]
The logfrmat utility uses the following parameters:
Input File Name
Name, extension, and directory path of the output file that the loggrabr utility creates. Default directory path is the current working directory.
Output XML File Name
Name and directory path for the output XML 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 format 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 formats all the log entries in the output file of the loggrabr utility.
End Date and End Time
Optional. Date and time up to which you want to group 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 formats all the log entries in the output file of the loggrabr utility.
For example, the following command formats the log entries in the
output.log
file and loads the formatted log entires into the
output.xml
file:
$SSABIN/logfrmat output.log output.xml -f 2015-04-22 11:20 2015-03-31 21:30

0 COMMENTS

We’d like to hear from you!