5.7.2
Table Of Contents
- Software Content Repository Tool 5.1 Guide
- Contents
- About This Book
- Introduction to the Software Content Repository Tool
- Preparing for SCR Tool Installation
- Installing the Prerequisite Software for the SCR Tool
- Configuring the Red Hat Host Machine
- Managing Patch Content with the SCR Tool
- Troubleshooting the SCR Tool
- Out of Memory Error
- Content Download Network Connection Error
- Cannot Connect to Red Hat Account
- Session Login to Red Hat Fails
- Download from Red Hat Fails
- HP-UX Service Authentication Fails
- Download from HP Fails
- Proxy Server Configuration Fails
- Mismatch in Number of Patches
- OS Vendor Does Not Accept Credentials
- OS Vendor Errors
- Patch Download Errors
- Obsolete Patches Cause the Download to Fail
- HTTP Errors Are Not Marked as SEVERE
- Connection Refused Errors
- Null Pointer Exception Errors
- Index
Procedure
1. Locate and open an individual <platform>-rt.properties file.
2. Set the following properties to the required level of logging.
java.util.logging.FileHandler.level
java.util.logging.ConsoleHandler.level
com.lumension.level
By default, all scripts log data to the same file name pattern at the INFO logging level. The logging
values include several levels.
n SEVERE
n WARNING (valid, but not used)
n INFO (recommended for production)
n CONFIG (valid, but not used)
n FINE (debug)
n FINER (debug)
n FINEST (debug)
3. To customize log file names, change the output java.util.logging.FileHandler.pattern=path
parameter.
a. Verify that the java.util.logging.FileHandler.pattern=path entry includes the path.
For example: ../logs/scr-messages-rh-%g.log
b. To generate distinct file names, use special substitution variables.
Variable Description
/ Local path name separator.
%t System temporary directory.
%h Value of the user.home system property.
%g Generated number to distinguish rotated logs.
%u Unique number to resolve conflicts.
%% Translates to a single percent sign %.
4. To select where the log stream is written, change the handlers=handler_name property.
Valid values are written to the file handler log file or the console handler stderr output.
Option Description
java.util.logging.FileHandler
If you use this handler, the SCR Tool generates logs
in the file specified in the <platform>-
rt.properties file.
java.util.logging.ConsoleHandler
If you use this handler, the SCR Tool generates logs
in the console.
Software Content Repository Tool 5.1 Guide
26
VMware, Inc.