gitlab-org--gitlab-foss/lib/gitlab/app_logger.rb

12 lines
225 B
Ruby
Raw Normal View History

2012-09-11 16:24:53 -04:00
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