In C we log this way:
syslog( LOG_INFO, \"proxying %s\", url );
In Linux how can we check the log?
If you like Vim, it has built-in syntax highlighting for the syslog file, e.g. it will highlight error messages in red.
vi +'syntax on' /var/log/syslog