debian-mirror-gitlab/lib/gitlab/satellite/logger.rb

14 lines
262 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
module Gitlab
module Satellite
class Logger < Gitlab::Logger
def self.file_name
'satellites.log'
end
def format_message(severity, timestamp, progname, msg)
"#{timestamp.to_s(:long)}: #{msg}\n"
end
end
end
end