-
Notifications
You must be signed in to change notification settings - Fork 51
UDP Tracker: refactor logs for request and responses #698
Copy link
Copy link
Closed
Labels
- Admin -Enjoyable to Install and Setup our SoftwareEnjoyable to Install and Setup our Software- Developer -Torrust Improvement ExperienceTorrust Improvement ExperienceEnhancement / Feature RequestSomething NewSomething New
Description
Parent issue: #687
Relates to: torrust/torrust-index#468
Change the current format for log records from:
2024-02-19T09:42:42.361343286+00:00 [UDP][INFO] "CONNECT TxID 1937009002"
2024-02-19T09:42:42.361874483+00:00 [UDP][INFO] "ANNOUNCE TxID 437961926 IH 22c004adcd330170a9be55d4296231f996629ed0"
TO:
2024-02-19T09:42:42.361343286+00:00 [UDP][INFO] request; action=CONNECT
2024-02-19T09:42:42.361874483+00:00 [UDP][INFO] request; action=ANNOUNCE transaction_id=437961926 info_hash=22c004adcd330170a9be55d4296231f996629ed0
To use the same format for all logs. We can also use https://docs.rs/tracing/latest/tracing/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- Admin -Enjoyable to Install and Setup our SoftwareEnjoyable to Install and Setup our Software- Developer -Torrust Improvement ExperienceTorrust Improvement ExperienceEnhancement / Feature RequestSomething NewSomething New