Replies: 1 comment 1 reply
-
|
Why go through all these inconvenience when you can just tail on the log file? Reading a file is much easier than connecting to an API endpoint. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be good to provide an API for retrieving runtime logs for diagnostic purposes.
Feature breakdown
Potential implementation
For the API endpoint, WebSocket may be a good choice to transfer a large amount of data and real-time updates.
For the log collection, I can see two possible ways:
tail -fon the log file and send back the outputs. For console-based logs, assign temporary files as backing storage.Any ideas or suggestions?
Beta Was this translation helpful? Give feedback.
All reactions