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