99
<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 28 Default output rules
Destination
Source
modules
Common
log
Security
log
Diagnostic log
Hidden log
Console
All supported
modules
debugging Disabled Disabled
Disabled
Monitor
terminal
All supported
modules
debugging Disabled Disabled
Disabled
Log host
All supported
modules
informational Disabled
Disabled
informational
Log buffer
All supported
modules
informational Disabled
Disabled
informational
Log file
All supported
modules
informational Disabled
Disabled
informational
Security log
file
All supported
modules, cannot
be filtered
Disabled
Debugging,
which cannot
be filtered
Disabled Disabled
Diagnostic
log file
All supported
modules, cannot
be filtered
Disabled Disabled
Debugging, which
cannot be filtered
Disabled
Views
System view
Predefined user roles
network-admin
Parameters
module
-
name
: Specifies a module by its name. For instance, to output FTP information, set this
argument to FTP. You can use the
info-center source ?
command to view the modules supported
by the device.
default
: Specifies all modules, which can be displayed by using the
info-center source ?
command.
console
: Outputs logs to the console.