Re: disable v4l2-ctl logging --log-status in /var/log/messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 12, 2009 at 10:28 AM, Hans Verkuil <hverkuil@xxxxxxxxx> wrote:
>
>> Hello,
>>
>> Is it possible to disable v4l2-ctl aplication logging into
>> /var/log/messages.
>> I am using it to control and monitor my PVR 150 cards and every time I
>> run v4l2-ctl -d /dev/video0 --log-status all output is logged into
>> /var/log/messages and some other linux log files.
>
> All --log-status does is to tell the driver to show it's status in the
> kernel log for debugging purposes. It cannot and should not be relied upon
> for monitoring/controlling a driver.
>
> What do you need it for anyway?

I am just monitoring if signal is present on tuner, and what signal
format is detected.
These two lines:
cx25840 1-0044: Video signal:              not present
cx25840 1-0044: Detected format:           PAL-Nc
I run this every minute and it is really annoying to have all this in
my system logs.
Is it possible to modify v4l2-ctl source to disable system logging?

Regards,
Gregor
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux