Metadata artifacts created are not logged

When a new artifact is created, we call Gitlab::Ci::Artifacts::Logger.log_created(artifact).

Ref:

def persist_artifact(artifact, artifact_metadata, params)
#...
        Ci::JobArtifact.transaction do
          artifact.save!
          artifact_metadata&.save!

          job.update_column(:artifacts_expire_at, artifact.expire_at)
        end

        Gitlab::Ci::Artifacts::Logger.log_created(artifact)

        success(artifact: artifact)
#...
end

The problem here is that we only do one log entry here which is only for the created archive artifact, but not for the metadata if one exists. This can cause confusion when comparing logs in Kibana and checking total artifact sizes vs correlated redis increments.

We need to also log the created metadata artifact.