The firewall log session log-type command selects the format for sending session logs.
The undo firewall log session log-type command restores the default setting, that is, the sending of session logs in binary format.
firewall log session log-type { binary | syslog | netflow }
undo firewall log session log-type
| Parameter | Description | Value |
|---|---|---|
| binary | Indicates session logs in binary format. | - |
| syslog | Indicates session logs in syslog format. | - |
| netflow | Indicates session logs in netflow format. | - |
The FW sends session logs in binary format by default.
The format of packet discarding logs also is determined by the format of session logs. If session logs are in syslog format, packet discarding logs are in syslog format. If session logs are in binary format, packet discarding logs are in binary format. If session logs are in Netflow format, packet discarding logs cannot be output.