5.7
Table Of Contents
- Software Content Repository Tool 5.0 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
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)
5. 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 %.
6. 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 logging.properties file.
java.util.logging.ConsoleHandler
If you use this handler, the SCR Tool generates logs in the
console.
7. To increase or decrease the number of bytes written to the log files before a new log is started, update
the java.util.logging.FileHandler.limit=bytes value.
8. To set the maximum number of log files to retain before overwriting the oldest, update the
java.util.logging.FileHandler.count=log_file_count value.
9. To append logging entries to the last used log file, configure
java.util.logging.FileHandler.append=true.
If the value is false, the SCR Tool writes to a new log file.
Software Content Repository Tool 5.0 Guide
26
VMware, Inc.