SSH Reference Manual
Arguments 
 TRUE 
The EMS collector will be opened once (and re-opened after errors only)  
 FALSE 
The EMS collector will be opened and closed for each log message written to the EMS collector (configured via 
parameter LOGEMS
) 
Default 
The default for this parameter is TRUE. 
Example 
LOGEMSKEEPCOLLECTOROPENED TRUE 
Considerations 
•  Keeping the EMS collector open instead of opening and closing it for every log message will reduce overhead. 
•  Closing the collector for every log message is only required if the collector's supported maximum number of 
event message issuers is reached. 
LOGFILE 
Use this parameter to define whether SSH2 log messages are written, and, if so, to which file. 
Parameter Syntax 
LOGFILE * | file 
Arguments 
* 
Means that no log messages are written to a file. 
 filenameprefix 
Specifies the prefix of the log file set. The actual audit file names are constructed based on the prefix assigned 
and by a number generated based on the settings of the LOGFILERETENTION
 parameter. 
Default 
By default, no log messages are written to a file ("*"). 
Considerations 
•  The LOGLEVELFILE
 parameter controls what messages are produced by SSH2. 
•  The LOGFORMATFILE parameter controls the log message format. 
See also 
•  LOGCONSOLE, LOGLEVELFILE, LOGFORMATFILE, LOGMAXFILELENGTH, LOGFILERETENTION
•  "Log Messages" in the chapter entitled "Monitoring and Auditing". 
LOGFILERETENTION 
Use this parameter to control how many log files SSH2 keeps when log file rollover occurs. 
Parameter Syntax 
HP NonStop SSH Reference Manual  Configuring and Running SSH2 • 93 










