381
info-center security-logfile directory
Use
info-center security-logfile directory
to configure the directory where the security log file is
saved.
Syntax
info-center security-logfile directory
dir-name
Default
The security log file is saved in the
seclog
directory under the root directory of the storage device.
Views
System view
Predefined user roles
security-audit
Parameters
dir-name
: Specifies a directory by its name, a string of 1 to 511 characters.
Usage guidelines
The specified directory must have been created.
The configuration made by this command cannot survive a reboot or an active/standby switchover.
(In standalone mode.)
The configuration made by this command cannot survive an IRF reboot or a global active/standby
switchover in an IRF fabric. (In IRF mode.)
Examples
# Set the directory to save the security log file to
flash:/test
.
<Sysname> mkdir test
Creating directory flash:/test... Done.
<Sysname> system-view
[Sysname] info-center security-logfile directory flash:/test
info-center source
Use
info-center source
to configure a log output rule for a module.
Use
undo info-center source
to restore the default.
Syntax
info-center source
{
module-name
|
default
} {
console
|
logbuffer
|
logfile
|
loghost
|
monitor
}
{
deny
|
level
severity
}
undo
info-center
source
{
module-name
|
default
} {
console
|
logbuffer
|
logfile
|
loghost
|
monitor
}
Default
lists the default log output rules.
Table 87 Default output rules
Destination
Source
modules
Common
log
Security log
Diagnostic
log
Hidden log
Console
All supported
debugging Disabled
Disabled
Disabled