How to get logcheck to ignore hddtemp lines that contain octal \200?

Luis Mondesi lemsx1 at gmail.com
Thu Apr 26 16:48:06 UTC 2007


On 4/26/07, Adam Funk <a24061 at ducksburg.com> wrote:
>
> Since I upgraded from Ubuntu Edgy to Feisty, hddtemp's output to
> syslog has ended in "^P?: 34 C" (for example), where the ? represents
> octal \200, so hddtemp always shows up in logcheck's output; ".*"
> won't match it.  I've tried copying and pasting the funny character
> from syslog into the ignore pattern, and I still can't suppress this.
>
> Any ideas?
>
> (This is a repost of my message to the logcheck list yesterday ---
> sorry if you've already seen it.)
>
> Thanks,
> Adam



Did you try using the [[:print:]] char class? I mean, if .* didn't match, it
might be because this is some how taken to be breaking the line? i'm not
sure if you can change logcheck to use a modifier, like /m.

hope that helps.

-- 
----)(-----
Luis Mondesi
*NIX Guru

"Feliz el hombre que ha hallado sabiduria y el hombre que consigue
discernimiento, porque el tenerla como ganancia es mejor que tener la plata
como ganancia; y el tenerla como producto, [mejor] que el oro mismo" (Prov
3:13-14)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070426/5d5011a5/attachment.html>


More information about the ubuntu-users mailing list