Logfile rotations look incorrect for vdr.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logwatch (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
In following up the fixes for https:/
# grep log /usr/share/
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/
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/
Changed in logwatch (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
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
"""