5.7.2

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.