506CHAPTER 20: SYSTEM LOG COMMANDS

„disable — Disables messages to the specified target.

Defaults — The following are defaults for the set log commands.

„ Events at the error level and higher are logged to the WX console.

„ Events at the error level and higher are logged to the WX system buffer.

„ Trace logging is enabled, and debug-level output is stored in the WX trace buffer.

 

Access — Enabled.

 

History — Introduced in MSS Version 3.0.

 

Usage — Using the command with only enable or disable turns logging

 

on or off for the target at all levels. For example, entering set log buffer

 

enable with no other keywords turns on logging to the system buffer of

 

all facilities at all levels. Entering set log buffer disable with no other

 

keywords turns off all logging to the buffer.

 

Examples — To log only emergency, alert, and critical system events to

 

the console, type the following command:

 

WX4400# set log console severity critical enable

 

success: change accepted.

 

See Also

 

„ clear log on page 499

 

„ display log config on page 502

 

 

set log trace

Changes the size of trace log files.

mbytes

Syntax set log trace mbytes count

 

 

„ count — Size of the trace buffer, in megabytes (MB). You can specify

 

from 1 through 50.

 

Defaults — The default trace buffer size is 1 MB.

 

Access — Enabled.

 

History — Introduced in MSS Version 3.0.

Page 506
Image 506
3Com 3CRWX440095A, 3CRWX120695A manual Set log trace, Mbytes