[mythtv-users] Question on channel record removal

Tom Dexter digitalaudiorock at gmail.com
Thu Dec 26 19:16:56 UTC 2013


On Thu, Dec 26, 2013 at 1:48 PM, Bill Meek <keemllib at gmail.com> wrote:
>
>> I'm a little confused when you refer to the "--logpath option".  That
>> just defaults to /var/log/mythtv correct?  By that are you simply
>> referring to the 0.25 change to write to the new process/timestamp
>> file names?
>
>
> Just suggesting I use the same option you do.
>
>
>> I actually like the idea of those scripts...that is getting everything
>> into a one file per processes format.  However in my case that would
>> remove the log files actively being written to...not sure how that'd
>> work out.
>
>
> You're right, it would pull the log out from under the running BE.
>
>
>> It seems though that for a true mythbackend server, there just aren't
>> any good options once --disable-mythlogserver has been used.  My
>> mythbackend process sometimes runs non-stop for months, and apparently
>> now has no mechanism for telling it to reopen the logs.  Up until 0.25
>> I used "copytruncate" in my mythtv logrotate configuration, but that
>> doesn't work out with the new file names at all.
>>
>> If various distros are using the --disable-mythlogserver option, what
>> if anything are they doing about logrotate configurations?
>
>
> I don't use it, but mythbuntu uses --syslog local7 and files like this:
>
>
> http://bazaar.launchpad.net/~mythbuntu/mythtv/mythtv-master/view/head:/debian/mythtv-backend.logrotate
>
> And probably (I don't know what theirs is) something like this:
>
>     http://www.mythtv.org/wiki/Simple_rsyslog_Configuration
>
> (the 0.25 version at the bottom, before mythlogserver was implemented)
>
> That gives you individual files and as far as I can tell, rsyslogd gets
> the SIGHUP (reload) and may do what you want.
>
>
> --
> Bill
>

Thanks for the reply...I was sort of afraid someone would suggest that
;).  I've always used sysklogd, not rsyslog.

I'm beginning to think my only option is just to use mythlogserver and
hope for the best.

Tom


More information about the mythtv-users mailing list