Welcome to mirror list, hosted at ThFree Co, Russian Federation.

app_logger.rb « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8e4717b46e6a0ab8b00b6b71884e3656d31ca324 (plain)
1
2
3
4
5
6
7
8
9
10
11
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