History log

Hello, everyone, I am new to the forum and the asterisk

I need some information about log
the command asterisk-rx ‘sip show peers’ | grep OK
it returns

1111/1111 10.10.10.10 DNA 35454 OK (2 ms)

This list is shown only when the ID 1111/1111 is logged in the system.

I wonder if that LOG is recorded by date or if he keeps some historical. :exclamation: :question: :bulb:

Thank you for your attention

The sip show peers it is a Natted qualification ping (read sip qualify), the qualify=yes, this option is set on the sip.conf file to monitor that the remote sip peer is alive.

sip show peers provides real time information only. It’s primary purpose is not to show the results of quailfy.

Assuming a standard installation, /var/log/asterisk contains log files that show historical information, although most of this is for human use not for machine processing. You may have to set appropriately high verbose and debug levels, and you may have to adjust logger.conf.