Opened 19 years ago

Closed 18 years ago

#3835 closed enhancement (fixed)

logrotate script for mythfrontend logfile (weekly, 8 rotations)

Reported by: Nick Morrott <<knowledgejunkie [at] gmail [dot] com>> Owned by: paulh
Priority: minor Milestone: 0.21
Component: contrib Version: head
Severity: medium Keywords: logrotate mythfrontend
Cc: Ticket locked: no

Description

The attached script will rotate and compress the mythfrontend logfile (/var/log/mythtv/mythfrontend.log) weekly for 8 rotations, irrespective of log size, and will keep the most recent logfile uncompressed until the next rotation.

This script currently relies on the application of the mythfrontend log rotation handler patch in #3622 which I have been using and seems to work well (in as much as I have rotated logfiles).

Attachments (1)

etc.logrotate.d.mythfrontend (315 bytes ) - added by Nick Morrott <<knowledgejunkie [at] gmail [dot] com>> 19 years ago.
logrotate script for mythfrontend

Download all attachments as: .zip

Change History (3)

by Nick Morrott <<knowledgejunkie [at] gmail [dot] com>>, 19 years ago

logrotate script for mythfrontend

comment:1 by paulh, 18 years ago

Milestone: unknown0.21
Owner: changed from Isaac Richards to paulh

comment:2 by paulh, 18 years ago

Resolution: fixed
Status: newclosed

Fixed by [14743]

Note: See TracTickets for help on using tickets.