John covici schrieb:
> /usr/sbin/logwatch --logdir /var/www/vhosts/wlym.com/statistics/logs
> 
> Within that directory are only logs of apache2 access_log.* and
> error_log.* and similarly named logs for ssl.
> 

So your apache logfiles' full path is like

/var/www/vhosts/wlym.com/statistics/logs/access_log ?

This will only work if your configuration for the http logfile contains
access_log (as oposed to apache/access.log). The code that's responsible
for that, reads like:

foreach my $dir ("$Config{'logdir'}/", "/var/adm/", "/var/log/", "") {
  @TempLogFileList = reverse(glob($dir . $ReadConfigValues[$i]));
  last if (@TempLogFileList && (-e $TempLogFileList[0]));
}

and that would explain why it seems to you as it would use /var/log.

If this is not the problem, please send the debug output:

logwatch --debug 10 --other options--

Willi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to