[ic] custom logging

David Etheredge David_e at charter.net
Fri May 2 19:42:58 UTC 2014


I want to add some custom logging to each of my sites that run interchange.

I have been doing this on some other sites with a perl based cgi. Is there a 
good place in the cart.cgi to add this where this log can be written?

The log file is written with the following:  localtime() 
$ENV{'REMOTE_ADDR'}  $ENV{'HTTP_REFERER'})   Query String   Affiliate_ID(if 
any)  subject(if any) ;
I prefer to keep this separate from other logs as I use it to keep PPC and 
Affiliate programs honest which requires that I sort the list.



Some example entries:

Fri May 2 02:50:48 2014 21.37.47.57 
http://www.google.com/url?sa=t&rct=j&q=parasite%20zapper%20buy&source=web&cd=10&ved=0CEsQFjAJ&url=http%3A%2F%2Fparadevices.com%2F

Fri May 2 03:27:20 2014 28.46.65.83 
http://huldaclarkparazapper.com/cgi-bin/cart.cgi?mv_pc=Gads

Fri May 2 08:45:17 2014 26.53.61.87 
http://huldaclarkparazapper.com/cgi-bin/cart.cgi?mv_pc=exseek

Fri May 2 12:12:48 2014 28.425.63.87 
http://www.bing.com/search?q=zapper&FORM=IE8SRC&adlt=strict



TIA



David






More information about the interchange-users mailing list