mgmt: fixed pull log #51
No reviewers
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#51
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "pca006132/artiq-zynq:log"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Fixed pull log problem, now users can use
aqctl_corelog
to pull log.The pull log would only accept one connection at a time, and would abort the previous connection when a new connection comes.
write_chunk
function would success on the first write to the stream even if the connection was closed, so relying that to detect connection close would cause lost of log messages (as the buffer is immediately cleared after thewrite_chunk
. Usingflush
is OK but that would decrease the throughput and potentially discard a lot of log messages during the flush operation as it might take a long time.