Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit 92b75fb

Browse files
committed
orchestration: log using model's provenance, not simple name
1 parent 7ce9c4b commit 92b75fb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

projects/dogen.orchestration/src/types/transforms/codec_model_set_to_logical_input_model_set_chain.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ namespace dogen::orchestration::transforms {
3838
logical::entities::input_model_set
3939
codec_model_set_to_logical_input_model_set_chain::
4040
apply(const context& ctx, const codec::entities::model_set& ms) {
41-
const auto model_name(ms.target().name().simple());
41+
const auto& l(ms.target().provenance().location());
42+
const auto id(l.full_path().filename().generic_string());
4243
tracing::scoped_chain_tracer stp(lg,
43-
"codec model set to logical model set", transform_id, model_name,
44+
"codec model set to logical model set", transform_id, id,
4445
*ctx.logical_context().tracer());
4546

4647
/*

0 commit comments

Comments
 (0)