How to get rid of Corrupt JPEG data messages
Posted: Thu Jan 13, 2011 12:15 pm
Hello all,
I have installed zoneminder 1.24.2-7ubuntu1 on Ubuntu 10.10 and it is working fine.
I use it with Logitech C270HD Webcams with help of mjpg-streamer 800x600@10fps(MJPEG) and libjpeg-turbo.
The little problem was thousands of "zmc_m3[1787]: WAR [Corrupt JPEG data: 3 extraneous bytes before marker 0xd4]" like messages in syslog and messages files.
How to get rid of it?
Modify /etc/rsyslog.d/50-default.conf this way:
:msg, regex, ".*Corrupt JPEG data: .* extraneous bytes before marker .*" ~
*.*;auth,authpriv.none -/var/log/syslog
The first line will filter "Corrupt JPEG data" messages, so it won't show in any of your log files defined on next lines(syslog,messages,etc).
After that, restart rsyslog service.
service rsyslog restart
Enjoy.
Best regards,
Peter
I have installed zoneminder 1.24.2-7ubuntu1 on Ubuntu 10.10 and it is working fine.
I use it with Logitech C270HD Webcams with help of mjpg-streamer 800x600@10fps(MJPEG) and libjpeg-turbo.
The little problem was thousands of "zmc_m3[1787]: WAR [Corrupt JPEG data: 3 extraneous bytes before marker 0xd4]" like messages in syslog and messages files.
How to get rid of it?
Modify /etc/rsyslog.d/50-default.conf this way:
:msg, regex, ".*Corrupt JPEG data: .* extraneous bytes before marker .*" ~
*.*;auth,authpriv.none -/var/log/syslog
The first line will filter "Corrupt JPEG data" messages, so it won't show in any of your log files defined on next lines(syslog,messages,etc).
After that, restart rsyslog service.
service rsyslog restart
Enjoy.
Best regards,
Peter