in services/library/src/main/java/com/google/cloud/pso/bq_snapshot_manager/helpers/LoggingHelper.java [89:108]
public void logSuccessDispatcherTrackingId(String trackingId, String dispatchedTrackingId, TableSpec tableSpec) {
Object [] attributes = new Object[]{
kv("dispatched_tracking_id", dispatchedTrackingId),
kv("dispatched_tablespec", tableSpec.toSqlString()),
kv("dispatched_tablespec_project", tableSpec.getProject()),
kv("dispatched_tablespec_dataset", tableSpec.getDataset()),
kv("dispatched_tablespec_table", tableSpec.getTable()),
};
logWithTracker(
ApplicationLog.DISPATCHED_REQUESTS_LOG,
null,
trackingId,
tableSpec,
String.format("Dispatched request for table '%s' with trackingId `%s`", tableSpec.toSqlString(), dispatchedTrackingId),
Level.INFO,
attributes
);
}