In C we log this way:
syslog( LOG_INFO, \"proxying %s\", url );
In Linux how can we check the log?
A very cool util is journalctl.
journalctl
For example, to show syslog to console: journalctl -t , where is identity you gave to function openlog to initialize syslog.
journalctl -t
openlog