[mythtv-users] Logging question

Anthony Messina amessina at messinet.com
Fri Aug 31 17:24:16 UTC 2012


On Thursday, August 30, 2012 08:27:32 PM Bill Meek wrote:
> On 08/30/2012 10:21 AM, Michael T. Dean wrote:
> ...
>  > Eventually (before 0.26 release), I'll update the wiki pages, but
> 
> > until then, use the existing config as a guide.
> 
> Were you thinking along the lines of this (it works for me)?
> 
>    http://pastebin.ca/2199517
> 
> (with the existing comments/permissions)
> 
> I'm on 0.26-rc, so I don't know if it would work for 0.25.

In /etc/rsyslog.d/40-mythtv.conf:

# Begin /etc/rsyslog.d/40-mythtv.conf
$FileCreateMode 0644
$template mythtvFile,"/var/log/mythtv/%programname%.log"
if $syslogfacility-text == 'local6' and $programname startswith 'myth' then 
?mythtvFile
&~
$FileCreateMode 0640
# End /etc/rsyslog.d/40-mythtv.conf

works well on a Fedora 17 system as well.  -A

-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120831/9aa3438b/attachment.sig>


More information about the mythtv-users mailing list