Skip to content

Emit the Stage 12 runtime's log fields and INFO records #1093

Closed

Description

@anth-volk

The observability package's standard-library log handler emits only a log record's policyengine_attributes; other keys passed in extra= stay on the Python LogRecord. #1092 fixed that for the Simulation Entrypoint. Four Stage 12 log calls still pass their fields only as plain extra=, so their records in Cloud Logging carry none of them:

  • stage12_result_comparison_completed, stage12_result_comparison_state_update_failed and stage12_result_comparison_failed in stage12_runtime/comparison.py;
  • a child simulation's failed state update or cancellation in stage12_runtime/coordinated_simulations.py.

stage12_result_comparison_completed is also logged at INFO, which the root logger's WARNING level discards before the handler sees it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions