Add timestamp and argument list to log files
This commit is contained in:
parent
6638d08489
commit
03abf83472
@ -536,6 +536,8 @@ class Formula
|
||||
wr.close
|
||||
|
||||
File.open(logfn, 'w') do |f|
|
||||
f.puts Time.now, "", cmd, args, ""
|
||||
|
||||
while buf = rd.gets
|
||||
f.puts buf
|
||||
puts buf if ARGV.verbose?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user