Permalink
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (40 sloc) 1.57 KB
# Begin /etc/rsyslog.d/40-mythtv.conf
# Make MythTV logs readable by world
$FileCreateMode 0644
# Send all logging from MythTV applications to application-specific log files.
if $msg startswith ' mythbackend' then /var/log/mythtv/mythbackend.log
& ~
if $msg startswith ' mythfrontend' then /var/log/mythtv/mythfrontend.log
& ~
if $msg startswith ' mythjobqueue' then /var/log/mythtv/mythjobqueue.log
& ~
if $msg startswith ' mythmediaserver' then /var/log/mythtv/mythmediaserver.log
& ~
if $msg startswith ' mythtv-setup' then /var/log/mythtv/mythtv-setup.log
& ~
if $msg startswith ' mythfilldatabase' then /var/log/mythtv/mythfilldatabase.log
& ~
if $msg startswith ' mythcommflag' then /var/log/mythtv/mythcommflag.log
& ~
if $msg startswith ' mythpreviewgen' then /var/log/mythtv/mythpreviewgen.log
& ~
if $msg startswith ' mythtranscode' then /var/log/mythtv/mythtranscode.log
& ~
if $msg startswith ' mythmetadatalookup' then /var/log/mythtv/mythmetadatalookup.log
& ~
if $msg startswith ' mythutil' then /var/log/mythtv/mythutil.log
& ~
if $msg startswith ' mythwelcome' then /var/log/mythtv/mythwelcome.log
& ~
if $msg startswith ' mythshutdown' then /var/log/mythtv/mythshutdown.log
& ~
if $msg startswith ' mythlcdserver' then /var/log/mythtv/mythlcdserver.log
& ~
if $msg startswith ' mythccextractor' then /var/log/mythtv/mythccextractor.log
& ~
if $msg startswith ' mythavtest' then /var/log/mythtv/mythavtest.log
& ~
# Set FileCreateMode back to default. This should be the same value as specified
# in the /etc/rsyslog.conf file.
$FileCreateMode 0640
# End /etc/rsyslog.d/40-mythtv.conf