set-log-file-format
set-log-file-format
Sets the formatter to be used for the server log file
Description
The set-log-file-format subcommand sets the formatter to be used for
the server log file for the specified target.
Eclipse GlassFish provides the ULF (UniformLogFormatter), ODL (Oracle
Diagnostics Logging) and OneLine (OneLineFormatter) formatters.
A custom formatter can also be used by specifying the fully
qualified name of a class that extends the
java.util.logging.Formatter class.
This subcommand is supported in remote mode only.
Options
- asadmin-options
-
Options for the
asadminutility. For information about these options, see theasadmin(1M) help page. --help-?-
Displays the help text for the subcommand.
--target-
Specifies the target for which the formatter is being set. Specify the name of the server domain, instance, or cluster. If this option is omitted, logger attributes are set for the default server.
Operands
- formatter
-
Specifies the fomatter to be used for the server log file. Valid values are ULF, ODL, OneLine or the fully qualified name of the custom formatter class to be used to render the log files. The default value is ODL.
See Also
"Administering the Logging Service" in Eclipse GlassFish Administration Guide