debian-mirror-gitlab/lib/gitlab/app_logger.rb

12 lines
227 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
module Gitlab
class AppLogger < Gitlab::Logger
2015-04-26 12:48:37 +05:30
def self.file_name_noext
'application'
2014-09-02 18:07:02 +05:30
end
def format_message(severity, timestamp, progname, msg)
"#{timestamp.to_s(:long)}: #{msg}\n"
end
end
end