[mythtv-users] Logging question

Bill Meek keemllib at gmail.com
Fri Aug 31 17:46:41 UTC 2012


On 08/31/2012 12:24 PM, Anthony Messina wrote:
> $template mythtvFile,"/var/log/mythtv/%programname%.log"
> if $syslogfacility-text == 'local6' and $programname startswith 'myth' then
> ?mythtvFile
> &~

Much cleaner, but in v0.26-rc, that puts all log messages in
/var/log/mythtv/mythlogserver.log, at least for me.

Beginning of v0.26-rc log entry for a run of mythcommflag looks like:

   Aug 31 12:34:58 mc1 mythlogserver: mythcommflag[6774]: I SystemSignalManager...

Man rsyslog.conf suggests that $programname is text after the hostname up to the '[<pid>]',
(the TAG) but testing for 'mythlogserver: mythcommflag' doesn't work for me.

-- 
Bill


More information about the mythtv-users mailing list