Import logs should contain more details about object to import
!48512 (merged) added logging to importer.log
, but the entries don't contain details on which object is actually being imported. For example, it would be nice to know that the importer was working on note 12345
, for example:
{
"severity": "INFO",
"time": "2020-11-29T16:08:57.116Z",
"correlation_id": "7763ddf80dc79396f56e66216d143151",
"message": "starting importer",
"importer": "Importer::NotesImporter",
"import_source": "github",
"project_id": 227,
"import_stage": "Gitlab::GithubImport::Stage::ImportNotesWorker"
}
{
"severity": "INFO",
"time": "2020-11-29T16:08:57.116Z",
"correlation_id": "7763ddf80dc79396f56e66216d143151",
"message": "starting importer",
"import_source": "github",
"project_id": 227,
"importer": "Gitlab::GithubImport::Importer::NoteImporter",
"parallel": true
}
{
"severity": "INFO",
"time": "2020-11-29T16:08:57.661Z",
"correlation_id": "7763ddf80dc79396f56e66216d143151",
"message": "importer finished",
"import_source": "github",
"project_id": 227,
"importer": "Gitlab::GithubImport::Importer::NoteImporter",
"parallel": true
}
{
"severity": "INFO",
"time": "2020-11-29T16:08:57.662Z",
"correlation_id": "7763ddf80dc79396f56e66216d143151",
"message": "stage finished",
"import_source": "github",
"project_id": 227,
"import_stage": "Gitlab::GithubImport::Stage::ImportNotesWorker"
}