Event logging, Disabling and enabling event logging, Changing the default maximum size of the event log – Brocade Virtual ADX Administration Guide (Supporting ADX v03.1.00) User Manual

Page 65

Advertising
background image

Brocade Virtual ADX Administration Guide

53

53-1003249-01

Event logging

1

Event logging

The Event Logging feature of the Brocade Virtual ADX captures all of the activity on the MP and BP
consoles. One file for each process, for example eventlog-mp and eventlog-bp0, is saved in
/opt/ADX/eventlog-*. This log captures all of the following information along with a timestamp:

Syslog messages when they are logged

All MP console messages (boot and application)

All BP console messages on each Core (boot and application)

All CLI commands typed by users at the MP and BP consoles

All commands typed at the OS prompt

Disabling and enabling event logging

The event logging feature is enabled by default. You can disable event logging as shown in the
following.

Virtual ADX(config)#eventlog disable

Syntax: eventlog disable

NOTE

This command is not saved across reloads by default. To have it take effect after a reload use the
write mem command to save the eventlog disable command to the startup configuration file.

Once you have disabled event logging you can re-enable it as shown in the following.

Virtual ADX(config)#eventlog enable

Syntax: eventlog enable

NOTE

The event log enable command is only used where you want to enable the event logging feature that
was previously disabled.

Changing the default maximum size of the event log

The default maximum size of the event log file is 32 MB. This value can be changed as shown in the
following.

Virtual ADX(config)#eventlog size 64

Syntax: eventlog size eventlog-file-size

The eventlog-file-size variable is the size in MB that you want to change the default maximum size
of the event log file to. It can be set to any value between 32 and 256.

NOTE

If the file is already larger than the specified new size, the Brocade Virtual ADX saves the old file in
an elogold file. For example, the old MP file is saved to the elogold-mp.txt file and the old BP0 file is
saved the elogold-bp0.txt file.

Advertising