Package: vlogger
Version: 1.1-2
Severity: important
Tags: patch

Currently vlogger does not ensure that $vhost gets set properly. My
apache error log is filled with the following:

   can't open /var/log/apache2//2005-03-16-access.log at /usr/sbin/vlogger line 
435, <STDIN> line 432.
   piped log program ' /usr/sbin/vlogger -u www-log -g www-log -t 
%Y-%m-%d-access.log -s access.log /var/log/apache2' failed %unexpectedly

Obviously $vhost is managing not to get set.

The obvious solution is to ensure that $vhost is not set to ''. This can
be done by adding the line:

   $vhost = 'default' unless $vhost;

at line 392, at the end of the "parse out the first word (the vhost)"
section.

Charles

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (90, 'testing'), (80, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1um
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages vlogger depends on:
ii  libtimedate-perl              1.1600-4   Time and date functions for Perl
ii  perl                          5.8.4-6    Larry Wall's Practical Extraction 

-- no debconf information


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

Reply via email to