The following example enables the logging of system messages to a log file in the flash memory and creates a filter to restrict the receipt of messages from the boot application to those with severity level of informational or more severe, and messages from the cascade application to those with severity level of alert or more severe.
Gxxx-001(super)# set logging file enable
Done!
Gxxx-001(super)# set logging file condition boot informational
Done!
Gxxx-001(super)# set logging file condition cascade alert
Done!