5.8

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.
5. 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.
6. 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.
7. 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.
Configuring the Red Hat Host Machine
VMware, Inc.
27