The firewall log packet-discard record enable command enables the function of sending packet discard logs to the log buffer.
The undo firewall log packet-discard record enable command disables the function of sending packet discard logs to the log buffer.
By default, packet discard logs are not sent to the log buffer.
After this function is enabled, the FW sends a packet discard log, as a sample, per second to the log buffer. If the FW discards packets, the packet discard logs can be directly sent to the log buffer, facilitating troubleshooting.
Before running this command, you must run the firewall log packet-discard enable command to enable the packet discard log sending function. The packet discard logs can be sent to the log buffer only after both the firewall log packet-discard enable and firewall log packet-discard record enable commands are run.