satellites logs
This commit is contained in:
parent
7121a58eb9
commit
c84675ee06
2 changed files with 21 additions and 1 deletions
13
lib/gitlab/satellite/logger.rb
Normal file
13
lib/gitlab/satellite/logger.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
module Gitlab
|
||||
module Satellite
|
||||
class Logger < Gitlab::Logger
|
||||
def self.file_name
|
||||
'satellites.log'
|
||||
end
|
||||
|
||||
def format_message(severity, timestamp, progname, msg)
|
||||
"#{timestamp.to_s(:long)}: #{msg}\n"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue