#6344 Introduce structured log lines in the agent proto
Pull request opened by
pingsutw
## Tracking issue
NA
## Why are the changes needed?
Today timestamps are embedded in messages, and unfortunately in various forms . This change deprecates string only log lines in favor of structured log lines with timestamp, message, and originator (initially). This will allow the client (cli, UI) to choose how to display the content (user's locale, skip system messsages, etc.)
## What changes were proposed in this pull request?
Introduce the structure lines field to agent proto
## How was this patch tested?
unit test
### Labels
Please add one or more of the following labels to categorize your PR:
•
added: For new features.
•
changed: For changes in existing functionality.
•
deprecated: For soon-to-be-removed features.
•
removed: For features being removed.
•
fixed: For any bug fixed.
•
security: In case of vulnerabilities
This is important to improve the readability of release notes.
### Setup process
### Screenshots
## Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
## Related PRs
NA
## Docs link
NA
### Summary by Bito
This pull request introduces structured logging enhancements in the agent protocol buffer definitions by adding a new LogLine type with timestamp, message, and originator fields, along with a LogLineOriginator enum. The changes deprecate the older string-based log representation in favor of the more versatile structuredLines field, ensuring consistent logging across language bindings.
Unit tests added: False
Estimated effort to review (1-5, lower is better): 5
flyteorg/flyte