set logging local

Use this command to configure log messages to the console and a persistent file.

Syntax

set logging local console {enable | disable} file {enable | disable} sfile {enable | disable}

Parameters

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.

Defaults

None.

Mode

All command modes.

Usage

If C2 security mode is enabled, You can not create, modify, or clear a local logging configuration while in Read-Write user mode.

Example

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