How to check syslog in Bash on Linux?


In C we log this way:

syslog( LOG_INFO, "proxying %s", url );

In Linux how can we check the log?


How about less /var/log/syslog?

Answered By – NPE

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published