watir/watirspec — Issue #29: Need option to stop Sinatra logging to stderr
Author: L2G
Created: 2012-02-03 00:33:39+00:00
State: open

Running the watirspec tests generates a lot of noise:

```
[2012-02-02 16:12:54] INFO WEBrick 1.3.1
[2012-02-02 16:12:54] INFO ruby 1.8.7 (2011-06-30) [i386-mingw32]
[2012-02-02 16:12:54] INFO WEBrick::HTTPServer#start: pid=3128 port=2001
running watirspec against Watir::IE
.............localhost - - [02/Feb/2012:16:13:02 Pacific Standard Time] "GET /plain_text HTTP/1.1" 200 18
- -> /plain_text
........localhost - - [02/Feb/2012:16:13:05 Pacific Standard Time] "GET /non_control_elements.html HTTP/1.1" 304 0
- -> /non_control_elements.html
localhost - - [02/Feb/2012:16:13:05 Pacific Standard Time] "GET /javascript/helpers.js HTTP/1.1" 304 0
http://localhost:2001/non_control_elements.html -> /javascript/helpers.js
```

When all I really want to see is this:

```
running watirspec against Watir::IE
.....................
```

There is no way, at least no obvious way, to turn off all of the noise from web server logging. I've tried inserting "set :logging, false" alongside the other set commands in lib/server.rb, but that has no effect.

I hope this isn't some dumb thing I'm overlooking. :-)