1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

feature #696: change logging style.

This commit is contained in:
Jaime Melis 2011-07-07 13:39:08 +02:00
parent 059d4aa535
commit 947cf3fe61

View File

@ -49,9 +49,8 @@ class Watcher
}
end
def log(resource,msg=nil)
msg ||= "watched"
STDERR.puts "#{Time.now} [#{resource.class}] #{msg}"
def log(msg)
STDERR.puts "#{Time.now} #{msg}"
end
def update(step)