1-15ViewSystem viewDefault Level2: System levelParametersdir-name: The name of the directory where a log file is saved, a string of 1 to 64 characters.DescriptionUse the info-center logfile switch-directory command to configure the directory where a log file issaved. Ensure that the directory is created first before saving a log file into it.By default, the directory to save a log file is the logfile directory under the root directory of the storagedevice. For a device supporting CF partition, the directory to save a log file is the logfile directory in thesecond partition of the storage device.Note that this command can be used to configure the directory to which a log file can be saved. Theconfiguration will lose after system restart or active/standby switchover of the main control boards.Examples# Create a directory with the name test under flash root directory. mkdir test%Created dir flash:/test.# Set the directory to save the log file to flash:/test. system-view[Sysname] info-center logfile switch-directory flash:/testinfo-center loghostSyntaxinfo-center loghost host-ip [ channel { channel-number | channel-name } | facility local-number ] *undo info-center loghost host-ipViewSystem viewDefault Level2: System levelParametershost-ip: The IP address of the log host.channel: Specifies the channel through which system information can be output to the log host.channel-number: Specifies a channel number, in the range 0 to 9.channel-name: Specifies a channel name, which could be a default name or a self-defined name. Theuser needs to specify a channel name first before using it as a self-defined channel name. For moreinformation, refer to the info-center channel name command.