You need to sign in or sign up before continuing.
Add structured logging to all importers
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
We should use the new import logger: Gitlab::Import::Logger.build
We have some importers with such logging enabled, but we should enable this probably at import_service.rb
level and pass it to each importer
Technical Note:
The labkit-ruby upgrade (part of upgrading to Ruby 3.0) injects info into logs - to track which deployment stage we execute on (main, cny)- after the event leaves gitlab-rails. Since it writes the stage
log field, it overwrites any stage:
value, so don't use this value in the logs. See !111590 (merged)
Edited by 🤖 GitLab Bot 🤖