Skip to content

Enhance logging to include run id in log messages #3

@MankowskiNick

Description

@MankowskiNick

To improve the traceability and debugging of simulation runs, we need to enhance the logging mechanism to include a unique Run ID in each log message. This will help in identifying and correlating log entries related to specific simulation runs.

Requirements:

  1. Generate a Unique Run ID:
  • Use the uuid module to generate a unique Run ID for each simulation run.
  • The Run ID should be generated when the TrafficSimulator instance is initialized.
  1. Include Run ID in Log Messages:
  • Modify the logging mechanism to prepend the Run ID to each log message.
  • Ensure that all log messages generated by the TrafficSimulator class include the Run ID.
  1. Update Documentation:
  • Update the README.md file to document the new logging format and the purpose of the Run ID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions