summaryrefslogtreecommitdiff
path: root/lib/gitlab/background_migration/logger.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/background_migration/logger.rb')
-rw-r--r--lib/gitlab/background_migration/logger.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/background_migration/logger.rb b/lib/gitlab/background_migration/logger.rb
index 4ea89771eff..d338c214140 100644
--- a/lib/gitlab/background_migration/logger.rb
+++ b/lib/gitlab/background_migration/logger.rb
@@ -4,6 +4,8 @@ module Gitlab
module BackgroundMigration
# Logger that can be used for migrations logging
class Logger < ::Gitlab::JsonLogger
+ exclude_context!
+
def self.file_name_noext
'migrations'
end