[mythtv-users] Can I suppress a particular backend error message?
Michael T. Dean
mtdean at thirdcontact.com
Wed Jun 3 22:56:06 UTC 2009
On 06/03/2009 06:37 PM, John Pilkington wrote:
> I've just brought back into use in 0.21 fixes an old usb dvb-t device
> that I had stopped using when it apparently became incapable of tuning
> the more complex multiplexes. I find that if I collect the multiplex
> info tables by scanning with a more capable card the old device still
> gives good recordings, but it produces an error message about once a
> second while doing so. I'm using it as virtual tuners 5 and 6, so it's
> not often active.
>
>
> 2009-06-03 22:48:01.364 PIDInfo(0): Failed to open demux device
> /dev/dvb/adapter0/demux0 for filter on pid 0x104
...
> Janne created patches two years ago that, IIRC, fixed this; patches
> were 12572 and 12800 for ticket #1970. The new messages are more
> informative but rather too insistent. Using 'mythbackend -v norecord'
> risks losing really useful information. Is there a more specific option?
Actually, that message is an important message (meaning you'll get it
unless you do -v noimportant).
If you really want to ignore it, just filter the logs--i.e. start
mythbackend without -l and redirect output to a program that ignores
that line:
mythbackend 2>&1 | grep -v 'Failed to open demux device' > filtered_log
Or just comment out the message (or change it's log level) in the
source. mythtv/libs/libmythtv/dvbstreamhandler.cpp around about line 845.
Mike
More information about the mythtv-users
mailing list