[mythtv-users] MythBackend Logging
Kirk Bocek
t004 at kbocek.com
Mon Dec 14 18:39:36 UTC 2015
On 12/14/2015 9:56 AM, Bill Meek wrote:
> On 12/14/2015 11:28 AM, Kirk Bocek wrote:
>> Is there anyway to disable mythbackend's creating log files by date.
>> I'd like to go back to the CentOS/Redhad/Fedora method of having the app
>> log to a single file and then let the logrotate daemon handle
>> rotating the files.
>
> Sounds like you/your distribution chose to use the --logpath
> /some/path/name
> switch when starting the backend. Use --syslog local7 (for example.)
>
> See the MythTV Logging Wiki or mythbackend --help syslog for more detail.
> https://www.mythtv.org/wiki/Logging
>
Packages from SCRpms. Looking at /etc/rc.d/init.d/mythbackend:
OPTIONS="$OPTIONS --daemon --logpath /var/log/mythtv/ --pidfile
/var/run/$prog.pid"
So, yeah, that's an easy change.
Many thanks.
More information about the mythtv-users
mailing list