diff options
author | Stan Hu <stanhu@gmail.com> | 2018-08-24 22:58:50 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-08-30 20:58:31 +0300 |
commit | e850d4ea6c3d925f8a55c247183f9accc38ece3f (patch) | |
tree | 96ab9de87ca60e7031d398643bc6be5516ea7901 /lib/gitlab/import | |
parent | f981d4febbbb5103262f4daa858236d9c4ed9d67 (diff) |
Add JSON logging for Bitbucket Server importer
Adds an importer.log so that it's easier to track what's happening with the import.
Diffstat (limited to 'lib/gitlab/import')
-rw-r--r-- | lib/gitlab/import/logger.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/gitlab/import/logger.rb b/lib/gitlab/import/logger.rb new file mode 100644 index 00000000000..8414954d141 --- /dev/null +++ b/lib/gitlab/import/logger.rb @@ -0,0 +1,9 @@ +module Gitlab + module Import + class Logger < ::Gitlab::JsonLogger + def self.file_name_noext + 'importer' + end + end + end +end |