Configuring the trace log file

Trace logs can be used to locate and troubleshoot network problems.

Trace logs are saved into a trace log file, which has a default maximum size of 1 MB. When the trace log file is full, the device overwrites the oldest trace logs with new ones. You can adjust the maximum size of the trace log file. The device support only one trace log file.

To set the maximum size of the trace log file:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Set the maximum size of the trace log file.

info-center trace-logfile quota size

By default, the maximum size of the trace log file is 1 MB.