86 • Configuring and Running SSH2 HP NonStop SSH Reference Manual
LOGFORMATFILE
Use this parameter to control the format of the log messages that are written to the log file.
Parameter Syntax
LOGFORMATFILE 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
bit 5 (decimal 16) Process ID (name or PIN)
bit 7 (decimal 64) Log level of message
Default
The default log format is 93 (date, time, milliseconds, process ID, and log level).
Example
Display date, time, and milliseconds only:
LOGFORMATFILE 13
Display date and time only:
LOGFORMATFILE 5
See also:
LOGFORMATCONSOLE, LOGFORMATEMS
LOGLEVEL
Use this parameter to control the level of detail of messages that are written to the console or log file.
Parameter Syntax
LOGLEVEL detail
Arguments
detail
A number is used to represent the level of detail desired. Following is more information about the values
allowed:
• A valid number must be between 0, indicating no messages, and 100. The value of 100 indicates the
maximum amount of messages. The maximum number should not to be used in production environments.
• The recommended level of detail is 30, indicating only startup and problem messages are written, or 50,
specifying some usage messages are also written.
Considerations