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:
parent
059d4aa535
commit
947cf3fe61
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user