SSH Reference Manual
LOGFILERETENTION n 
Arguments 
 n 
Specifies the number of log files to keep. 
Default 
By default, 10 files are kept. 
Considerations 
•  Setting the parameter to a value 0 disables log file retention. 
•  If log file retention is enabled, a minimum of 10 is enforced by this parameter. 
•  See section "Logfile/Auditfile Rollover" in the "Monitoring and Auditing" chapter for details on file rollover. 
•  The file security set for the current log file (e.g. via FUP SECURE command) will be used for subsequently 
created log files. The very first log file will have the default file security of user super.super. 
See also 
LOGMAXFILELENGTH, LOGFILE
LOGFORMAT 
Use this parameter to control the format of the log messages that are written to the console or log file. 
Parameter Syntax 
LOGFORMAT 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 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 
94 • Configuring and Running SSH2  HP NonStop SSH Reference Manual 










