Using Switch Logging Switch Logging Commands Overview
OmniSwitch AOS Release 7 Network Configuration Guide June 2013 page 34-11
Configuring the Switch Logging File Size
To configure the size of the switch logging file, use the swlog output flash-file-size command. To use this
command, enter swlog output flash file size followed by the number of bytes. (The maximum size the file
can be is dependent on the amount of free memory available in flash.)
For example, to set the switch logging file to 500000 bytes enter:
-> swlog output flash file-size 500000
Clearing the Switch Logging Files
You can clear the data stored in the switch logging files by executing the following command:
-> swlog clear
This command causes the switch to clear all the switch logging information and begin recording again. As
a result, the switch displays a shorter file when you execute the show log swlog command. You want to
use swlog clear when the switch logging display is too long due to some of the data being old or out of
date.
No confirmation message appears on the screen.