On Wed, 18 Feb 2004, Deepa D wrote: > Hi, > Thanks for the response. > access.log is listing the urls correctly. Sample :- > http://in.yimg.com/i/in/adv/hp/pbhp_84x28_blu_yahoo.gif > > The redirector code is as follows :- > > char buff[MAX_BUFF] = ""; > setbuf(stdout, NULL); > memset(buff,'\0',MAX_BUFF); > > while(fgets(buff, MAX_BUFF, stdin) != NULL) { > > log(LOG_INFO," Client - read from stdin = ", > buff); > } >
What does the log function look like? Also try strace/truss of the redirector process to verify that what it logs matches what it reads from Squid. Regards Henrik
