mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Remove the random line at the beginning of every new log file
This commit is contained in:
committed by
Yehuda Katz
parent
51c24ae3e3
commit
3f56038612
@@ -53,7 +53,6 @@ module ActiveSupport
|
||||
FileUtils.mkdir_p(File.dirname(log))
|
||||
@log = open(log, (File::WRONLY | File::APPEND | File::CREAT))
|
||||
@log.sync = true
|
||||
@log.write("# Logfile created on %s" % [Time.now.to_s])
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user