Re: Mythtv logging
Duncan Brown <[email protected]>
| Newsgroups | gmane.linux.redhat.rpm.atrpms.general |
|---|---|
| Message-ID | <[email protected]> |
On 29/11/2012 21:33, Kevin J. Cummings wrote: > On 11/29/2012 08:45 AM, Duncan Brown wrote: >> Hello All >> >> I'm not a huge fan of the current mythtv logging method which results in >> huge amounts of separate log files, so I've changed to using syslog. >> >> This involves changing the command in init.d/mythbackend to "--syslog >> local7" instead of "--logpath /var/log/mythtv/" >> >> This works great, but every time I upgrade the init.d file is >> overwritten. Is there anyway of stopping that file being overwritten by >> the upgrade each time? > System local stuff belongs in /etc/sysconfig/mythbackend > > (at least it used to, I'm still running Fedora 14 on my mythtv backend > server.) > > You might have to get the --logfile stuff parameterized such that you > could override it with something in /etc/sysconfig/mythbackend in the > distribution first.... > >> cheers >> >> Dunc Thanks for all the suggestions guys, I imagine I'll be using a combination of the lot! cheers Dunc