Re: Mythtv logging
"Kevin J. Cummings" <[email protected]>
| Newsgroups | gmane.linux.redhat.rpm.atrpms.general |
|---|---|
| Organization | The Home of Kevin & Janet Cummings |
| Message-ID | <[email protected]> |
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 -- Kevin J. Cummings [email protected] [email protected] [email protected] Registered Linux User #1232 (http://www.linuxcounter.net/)