If you want to query logs generated on the FW on a terminal, you can configure the FW to output logs to the terminal.
After this configuration, you can log in to the FW using Telnet or STelnet and view logs to know the operating status of the FW.
system-view
info-center source { module-name | default } channel { channel-number | channel-name } log { state { off | on } | level severity } *
info-center monitor channel { channel-number | channel-name }
By default, channel 1 is used.
quit
terminal monitor
terminal logging
terminal echo synchronous