Occasionally when I need to debug a malfunction website and suspect adblock is the culprit, I need to SSH into the router, turn on access log by editing the init.d script, re-launch pixelserv and 'tail -f' the log file. I feel tired of the cumbersome steps...
So here is the new version: V35.H12.Kh:
This alias works for me on a PC running Linux or OS X with SSH certificate based authentication enabled. I think people can easily adapt it to work on Windows with PuTTY.
So here is the new version: V35.H12.Kh:
- Allow access log to be switched on/off through HTTP
- Add status code of processing result to access log for better diagnosis
- wget -q http://doubleclick.net/log=1
- wget -q http://doubleclick.net/log=0
- http://doubleclick.net/servstats (or "/servstats.txt")
- alias pixlog='wget -q http://doubleclick.net/log=1;ssh -t admin@RT-AC56U tail -f /opt/var/log/pixelserv.log;wget -q http://doubleclick.net/log=0'
This alias works for me on a PC running Linux or OS X with SSH certificate based authentication enabled. I think people can easily adapt it to work on Windows with PuTTY.