aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-09-05 00:36:39 -0500
committerJack Nagel2014-09-05 00:36:39 -0500
commit03abf834724714b29e7d44720953affc01dd7415 (patch)
tree7e37efe810acf98ebc1a370c4317d8461714ae74 /Library
parent6638d08489a4ac312fe1f3d31575b1424d54e78d (diff)
downloadbrew-03abf834724714b29e7d44720953affc01dd7415.tar.bz2
Add timestamp and argument list to log files
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 2 insertions, 0 deletions
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?