84 • Configuring and Running SSH2 HP NonStop SSH Reference Manual
Arguments
format
A number is used to represent a bit mask that controls the format. Following are the values and their
corresponding format:
bit 1 (decimal 1): Date
bit 2 (decimal 2): Header (log messages a pre-fixed with "[log]")
bit 3 (decimal 4): Time
bit 4 (decimal 8): Milliseconds
bit 5 (decimal 16): Process name
Bit 7 (decimal 64) Log level of message
Default
The default log format is 93 (process name, date, time, milliseconds, and log level).
Example
Display date, time, and milliseconds only:
LOGFORMAT 13
Display date and time only:
LOGFORMAT 5
Considerations
• This parameter is retained for downward compatibility only and has been replaced by the parameters
LOGFORMATCONSOLE and LOGFORMATFILE.
• If no value is set for the parameters LOGFORMATCONSOLE or LOGFORMATFILE, they will inherit their
value from the parameter LOGFORMAT.
• If both LOGFORMATCONSOLE and LOGFORMATFILE are set with a value, the parameter of
LOGFORMAT becomes meaningless.
See also:
LOGFORMATCONSOLE, LOGFORMATEMS, LOGFORMATFILE
LOGFORMATCONSOLE
Use this parameter to control the format of the log messages that are written to the console.
Parameter Syntax
LOGFORMATCONSOLE format
Arguments
format
A number is used to represent a bit mask that controls the format. Following are the values and their
corresponding format:
Bit 1 (decimal 1) Date
Bit 2 (decimal 2) Header (log messages a pre-fixed with "[log]")
Bit 3 (decimal 4) Time
Bit 4 (decimal 8) Milliseconds