summaryrefslogtreecommitdiff
path: root/lib/gitlab/app_logger.rb
blob: dddcb2538f915a8eab9c2801522b62c511aa2c14 (plain)
1
2
3
4
5
6
7
8
9
10
11
module Gitlab
  class AppLogger < Gitlab::Logger
    def self.file_name_noext
      'application'
    end

    def format_message(severity, timestamp, progname, msg)
      "#{timestamp.to_s(:long)}: #{msg}\n"
    end
  end
end