Project

General

Profile

« Previous | Next » 

Revision 59ca7e53

Added by Ohad Levy almost 13 years ago

  • ID 59ca7e53e9baec39b1ef160767b0c1ed692a71d6

fixes #1103 - hypervisor connections logs to info level instead of debug

View differences:

app/models/hypervisor.rb
def connect
return true if Rails.env == "test"
logger.info "trying to contact Hypervisor #{name}"
logger.debug "trying to contact Hypervisor #{name}"
Timeout::timeout(10, StandardError) { @host = Virt.connect(uri).host }
rescue => e
logger.warn "Failed to connect to hypervisor #{name} - #{e}"

Also available in: Unified diff