Package: thttpd
Version: 2.23beta1-5
Severity: normal

I worked out why thttpd isn't logging properly.

When logrotate moves /var/log/thttpd.log to /var/log/thttpd.log.1,
thttpd keeps the filehandle open for the old logfile.  So when
logrotate gzips it, thttpd can't write any more logging data until
thttpd is rebooted.
 
-- thttpd.conf:
charset=UTF-8
port=80
chroot
user=www-data
logfile=/var/log/thttpd.log
throttles=/etc/thttpd/throttle.conf
dir=/srv/public

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)

Versions of packages thttpd depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  logrotate                   3.7.1-3      Log rotation utility

thttpd recommends no packages.

-- no debconf information


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

Reply via email to