[Wtr-general] Why? [09-May-2006 08:58:20#3372] WARN --:runti meerror in wai

Andy Sipe andy__s at hotmail.com
Tue May 9 14:39:41 EDT 2006


The default logger in Watir is a logger instance from the ruby stdlibs 
pointing to STDOUT.

You can change the verbosity of this by doing something like:

    ie = Watir::IE.start('http://www.google.com')
    ie.logger.level = Logger::FATAL

That should remove the message -- I haven't tried it though.

See the Logger docs from the std lib for more info on the various levels and 
the logger class in general.

-andy

----Original Message Follows----
From: "Paatsch, Bernd" <BPaatsch at activevoice.com>
Reply-To: wtr-general at rubyforge.org
To: "'wtr-general at rubyforge.org'" <wtr-general at rubyforge.org>
Subject: Re: [Wtr-general] Why? [09-May-2006 08:58:20#3372] WARN 
--:runti	meerror in wai
Date: Tue, 9 May 2006 11:44:00 -0500

The code works fine.
Is it possible to catch this warring and prevent it from being written to
the stdout?

-----Original Message-----
From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Andy Sipe
Sent: Tuesday, May 09, 2006 9:29 AM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] Why? [09-May-2006 08:58:20#3372] WARN --
:runtimeerror in wai
......
......
.....





More information about the Wtr-general mailing list