From 90a4e60c4bb4baca63bfa71beab46cd1f3d15203 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 5 Sep 2014 00:36:39 -0500 Subject: Add timestamp and argument list to log files --- Library/Homebrew/formula.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index ef2933291..ab8bbd538 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -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? -- cgit v1.2.3