Logfile rotations look incorrect for vdr.conf

Bug #1830109 reported by Bryce Harrington
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
logwatch (Ubuntu)
Triaged
Low
Unassigned

Bug Description

In following up the fixes for https://bugs.launchpad.net/ubuntu/+source/logwatch/+bug/606715, I notice that the vdr.conf file appears to suffer from the same issue. Namely:

# grep log /usr/share/logwatch/default.conf/logfiles/vdr.conf
LogFile = vdr.log
LogFile = vdr.log.0
Archive = vdr.log.*.gz

But since the change from sysklogd to rsyslog (see deb #612634), the first rotated logfile is suffixed .log.1. So the config file should look like this:

# grep log /usr/share/logwatch/default.conf/logfiles/vdr.conf
LogFile = vdr.log
LogFile = vdr.log.1
Archive = vdr.log.*.gz

However, even after installing vdr I'm not spotting an indication that its log would be included in logrotation. (I can't be 100% certain; I don't have the necessary video HW vdr expects so the install didn't complete 100%) And, grepping through vdr source, I couldn't verify that it actually writes to /var/log/vdr.log. So there's a possibly /usr/share/logwatch/default.conf/logfiles/vdr.conf is vestigial and could be dropped from logwatch.

Revision history for this message
Bryce Harrington (bryce) wrote :

Indeed, from https://communities.vmware.com/thread/277931 the vdr.log seems vestigial:

"In VDR 1.2, most events are sent to the appliance's local syslog."

Confirmed by debian's documentation for VDR, at https://wiki.debian.org/VDR:

"""
VDR logs to /var/log/syslog. In a new terminal, enter the following command:

# tail -F /var/log/syslog
"""

Bryce Harrington (bryce)
Changed in logwatch (Ubuntu):
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.