Well, since sendmail’d logs can take hours to arrive (see my previous post, topic=“sendmail Delays for Hours”), I was wondering if I could write to my root/logs, the way the perl compiler does when it encounters compile errors. I would like to log run-time variables so I can debug execution errors.
I found this in the list of perl modules supposedly installed on DreamHost:
http://search.cpan.org/~dougm/Apache-LogFile-0.12/LogFile.pm
Is that the tool I should use? If so, what is the correct incantation to log, say, “Hello, World!”?
I tried the various incantations suggested in that doc and none of them worked. From searching this forum it appears that I don’t have access to my httpd.conf. Also,
use Apache::LogFile ;
generated an error that it could not even find that module. What did I do wrong there?
Thanks!
Jerry