Logformatconsole - HP NonStop SSH 544701-014 Reference Manual

Table of Contents

Advertisement

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):
bit 2 (decimal 2):
bit 3 (decimal 4):
bit 4 (decimal 8):
bit 5 (decimal 16):
Bit 7 (decimal 64)
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)
Bit 2 (decimal 2)
Bit 3 (decimal 4)
Bit 4 (decimal 8)
84 • Configuring and Running SSH2
Date
Header (log messages a pre-fixed with "[log]")
Time
Milliseconds
Process name
Log level of message
Date
Header (log messages a pre-fixed with "[log]")
Time
Milliseconds
HP NonStop SSH Reference Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents