gitlabhq/lib/gitlab/app_logger.rb
2012-09-11 23:24:53 +03:00

12 lines
225 B
Ruby

module Gitlab
class AppLogger < Gitlab::Logger
def self.file_name
'application.log'
end
def format_message(severity, timestamp, progname, msg)
"#{timestamp.to_s(:long)}: #{msg}\n"
end
end
end