-
Notifications
You must be signed in to change notification settings - Fork 0
Enhance logging to include run id in log messages #3
Copy link
Copy link
Open
Description
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:
- 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.
- 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.
- Update Documentation:
- Update the README.md file to document the new logging format and the purpose of the Run ID.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels