save a log

Doru Georgescu <headset001-/[email protected]> Thu, 16 Sep 2010 01:17:04 -0700 (PDT)
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
fflush(NULL); and closelog(); do not seem to make any difference.

I was amazed today to discover that:

wget localhost/myapp.fcgi?some%20data

issued locally as root is logged well after I started the system, but access requests from other locations were not logged unless I did /etc/init.d/sysklogd restart. It looks like a permissions issue, but I expected Apache to serve as www-data (in my Ubuntu 8.04 lts server) regardles the owner of the request process. 

Doru