To display log messages to the console and save to a persistent file:
set logging local console {enable | disable} file {enable | disable} sfile {enable | disable}
Note
The set logging local command requires that you specify both console and file settings. For example, set logging local console enable would not execute without also specifying file enable or disable or sfile enable or disable for a secure file.