Configure the Audit Log file to reside in a user specific directory.
To configure the Audit Log:
For Windows, create a file named path.properties under C:\Program Files\HP\Systems Insight Manager\config. For Linux and HP-UX, create a file named path.properties under /etc/opt/mx/config. Add the following entry in the path.properties file: LOG=\\Auditlog\\Logs or LOG=C:/Auditlog/Logs
.
Note:
C:\\Auditlog\\Log is listed here as an example. This path is user defined.
For Linux and HP-UX, restart the HP Systems Insight Manager (HP SIM) daemons (mxstop and mxstart). For Windows, restart the HP SIM service. After restarting the service, a new log file named mx.log resides in the directory specified in path.properties file.
Five variables can be defined in the log.properties file:
MX_LOG_FILENAME for the file name. The default is "MX_LOG_FILENAME=mx".
MX_LOG_FILEEXT for the file extension. The default is "MX_LOG_FILEEXT=log".
MX_LOG_FILESIZE for the maximum file size. The default is "MX_LOG_FILESIZE=20".
MX_LOG_ROLLFILEEXT for the file extension of the roll-over name. The default is "MX_LOG_ROLLFILEEXT=old".
MX_LOG_QUEUESIZE for the amount of memory allocated for queuing items to be written to the Audit Log. The default is "MX_LOG_QUEUESIZE=300".
The maximum file size is set in megabytes.
When the Audit Log file reaches the maximum file size, the log is renamed with MX_LOGROLLFILEEXT extension, and a new file is started. If a previous version of the file has already been renamed with the MX_LOG_ROLLFILEEXT extension, it is an automatic roll-over of an audit log file. A roll-over occurs after a task running is completed. However, after one hour exceeding the maximum file size, if the task is not finished, the audit log file rolls over to another file.
Changes made to the log.properties file do not take effect until the log manager daemon is restarted. For Windows, restart HP SIM service. For Linux and HP-UX, restart the log manager.
Related Topics
|