Configuring log file options – Brocade Communications Systems 53-1001778-01 User Manual

Page 62

Advertising
background image

46

Brocade SMI Agent User’s Guide

53-1001778-01

CIMOM server configuration

3

FIGURE 29

Configure the CIMOM server

Configuring log file options

You cannot configure log file options with the SMI Agent Configuration Tool. The following
procedure describes how to change the log file options by modifying the jserver.properties file.

1. Open the jserver.properties file found at …server/jserver/bin.

2. Uncomment the following lines:

# com.wbemsolutions.jserver.logdirectory=/mylogfiledir
#com.wbemsolutions.jserver.log.maxfilesize=5000000
#com.wbemsolutions.jserver.log.numfiles=3

Replace mylogfiledir with the complete path of the log file directory.

Replace 5000000 with the maximum size of the log file (in KB).

Replace 3 with the number of rotating log files.

When the specified size is exceeded on the first log file, logs are written to the next log file. When
approximately the specified number of KB have been written to one log file, another log file is
opened.

NOTE

Sometimes log file will exceed the size specified because of a limitation in Java logging. After the
server is stopped, the size of the log file will be reduced to the size specified.

Advertising