POV-Ray : Newsgroups : povray.beta-test : max_gradient warning can't be turned off with -gw : Re: max_gradient warning can't be turned off with -gw Server Time
29 Jul 2024 20:22:01 EDT (-0400)
  Re: max_gradient warning can't be turned off with -gw  
From: Thorsten Froehlich
Date: 9 Mar 2002 11:34:45
Message: <3c8a39a5@news.povray.org>
In article <3c8a2c48$1@news.povray.org> , "Rune" <run### [at] mobilixnetdk>
wrote:

> Very confusing and not at all clear from the documentation. Which warnings
> are not part of the warning stream, and which streams do they belong to
> then?

Warnings are warnings.  There is not some "magic" that decides something that
looks like a warning is a warning and another thing that looks like one is
not.  All warnings are created equal! :-)

However, turning off the warning stream still generates those warnings, they
are just not displayed because you turn the stream display off.  That is the
very nature of stream output on screen if it is off.  Setting the warning
level turns of generating of those warnings and consequently they are not in
the stream.

This works similar to the verbose display.  If you turn the verbose option on,
you get more messages in the streams.  Of course, if you direct those streams
to nowhere you won't see the messages anymore, but verbose is still turned on.
Thus you would turn the verbose option off to get rid of the messages and not
redirect it to nowhere.

Got it?

>> Do these warnings get redirected to a file correctly
>> when only redirecting the warning stream?
>
> I can't say,

All I asked is if you direct to a warning stream, if those warnings are in
there or not.  Just redirecting the stream to a file, then opening the file
and searching for them is sufficient to tell if they are in the file or not.

> as I don't know what the desired behavior is or how it's
> supposed to be used. I may understand it if you answer the questions at the
> top of this message.

I did not ask what you think the desired behavior would/should be - I think
you completely misunderstood this question :-(

    Thorsten

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.