From 5a393d6102655f575549311e6b250534b4dcbb59 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Fri, 19 Apr 2013 14:58:58 +0300 Subject: Add 'cmd :all' convenience, ran after each command Easier screen-scraping, if each command produces always same set of cruft that needs to be removed --- lib/oxidized/api/rest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/api') diff --git a/lib/oxidized/api/rest.rb b/lib/oxidized/api/rest.rb index ee06bc8..4a5fbca 100644 --- a/lib/oxidized/api/rest.rb +++ b/lib/oxidized/api/rest.rb @@ -7,7 +7,7 @@ module Oxidized @nodes = nodes addr, port = listen.to_s.split ':' port, addr = addr, nil if not port - @web = WEBrick::HTTPServer.new :BindAddress=>addr, :Port=>port + @web = WEBrick::HTTPServer.new :BindAddress=>addr, :Port=>port, :Logger=>Log maps end def work -- cgit v1.2.1