myomancer has asked for the wisdom of the Perl Monks concerning the following question:
I downloaded and installed the Apache::ParseLog module. Then I grabbed the script "Example 1: Basic Report" from http://theoryx5.uwinnipeg.ca/CPAN/data/Apache-ParseLog/ParseLog.html.
Then I changed $conf to point to the right place on my system.
When I run the script I get this error:
<CODE FONT=+1> TransferLog Report Apache::ParseLog::getTransferLog: does not exist. Exiting at log.pl line 11</CODE>I've tried it on SCO and Linux; same result on both.
If I edit ParseLog.pm and hardcode $logfile as "/usr/local/lib/apache/logs/access_log", it works fine.
Can anybody offer an explanation and/or solution?
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Apache::ParseLog
by davemabe (Monk) on May 01, 2001 at 17:44 UTC | |
by DrZaius (Monk) on May 01, 2001 at 18:45 UTC |