5.7

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.