show production.log, show only active milestone for issue filter
This commit is contained in:
parent
e9c6d4adfa
commit
4b02f4a22d
4 changed files with 27 additions and 2 deletions
|
@ -14,6 +14,11 @@ module Gitlab
|
|||
logs = `tail -n 2000 #{path}`.split("\n")
|
||||
end
|
||||
|
||||
def self.read_latest_for filename
|
||||
path = Rails.root.join("log", filename)
|
||||
logs = `tail -n 2000 #{path}`.split("\n")
|
||||
end
|
||||
|
||||
def self.build
|
||||
new(Rails.root.join("log", file_name))
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue