To configure a switch to send debugging information to the log server, run the following command in the system view.
[HUAWEI] info-center source default channel 2 debug state on
[HUAWEI] info-center loghost x.x.x.xBy default, a switch sends only logs and traps to the log server.