Use this command to configure log messages to the console and a persistent file.
console enable | disable | Enables or disables logging to the console. Local console is enabled by default |
file enable | disable | Enables or disables logging to a persistent file. Logging to a persistent file is disabled by default. |
sfile enable | disable | Enables or disables logging to a persistent security file. Logging to a persistent security file is disabled by default. |
None.
All command modes.
If C2 security mode is enabled, You can not create, modify, or clear a local logging configuration while in Read-Write user mode.
This command shows how to enable logging to the console and disable logging to standard and security persistent files:
System(rw)->set logging local console enable file disable sfile disable