gitlabhq/lib/gitlab/satellite/logger.rb

14 lines
262 B
Ruby
Raw Normal View History

2013-01-29 11:12:24 +01:00
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