2012-09-11 20:24:53 +00:00
|
|
|
module Gitlab
|
|
|
|
class AppLogger < Gitlab::Logger
|
2014-10-04 15:09:06 +00:00
|
|
|
def self.file_name_noext
|
|
|
|
'application'
|
2012-09-11 20:24:53 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def format_message(severity, timestamp, progname, msg)
|
|
|
|
"#{timestamp.to_s(:long)}: #{msg}\n"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|