On Wednesday 15 January 2014 16:48:05 Owen Watson wrote:
> Is there any way to get error messages supressed (or at least sent to an
> error file) on the general log file? I'm getting:
> "Last-modified header missing -- time-stamps turned off."
> on every second line, which is a slight annoyance

You could use 'grep -v' to explicitly filter out that specific error message 
(as long as you don't hassle with stdout, like in '-O -').

Like:
wget ... 2>&1 | grep -v 'Last-modified header missing'

If you want to filter more than one message, use 'egrep', like
wget ... 2>&1 | egrep -v 'Last-modified header missing | Second unwanted 
message'

Regards, Tim


Reply via email to