[GH-ISSUE #114] Endpoint for getting last n log lines #82

Open
opened 2026-03-03 16:04:18 +03:00 by kerem · 5 comments
Owner

Originally created by @dmarkey on GitHub (Feb 27, 2018).
Original GitHub issue: https://github.com/mthenw/frontail/issues/114

Hi,

Feature requests.

For our integration tests, when they fail it would be nice to be able to gather the logs from fronttail to add to the test failure output.

With curl would be nice. Tried to come up with something and failed.

David

Originally created by @dmarkey on GitHub (Feb 27, 2018). Original GitHub issue: https://github.com/mthenw/frontail/issues/114 Hi, Feature requests. For our integration tests, when they fail it would be nice to be able to gather the logs from fronttail to add to the test failure output. With curl would be nice. Tried to come up with something and failed. David
Author
Owner

@mthenw commented on GitHub (Feb 27, 2018):

Hey,

I'm not sure what do you mean. You would like to curl frontail for all logs?

<!-- gh-comment-id:368892321 --> @mthenw commented on GitHub (Feb 27, 2018): Hey, I'm not sure what do you mean. You would like to curl frontail for all logs?
Author
Owner

@dmarkey commented on GitHub (Feb 27, 2018):

yes please!

<!-- gh-comment-id:368892828 --> @dmarkey commented on GitHub (Feb 27, 2018): yes please!
Author
Owner

@mthenw commented on GitHub (Feb 27, 2018):

Hmm, that's kinda tricky as frontail doesn't persist it. I gonna mark it as a feature but I don't have bandwidth to do that right now.

<!-- gh-comment-id:368895878 --> @mthenw commented on GitHub (Feb 27, 2018): Hmm, that's kinda tricky as frontail doesn't persist it. I gonna mark it as a feature but I don't have bandwidth to do that right now.
Author
Owner

@dmarkey commented on GitHub (Feb 27, 2018):

@mthenw even if we could get the 2000 lines or whatever fronttail is configured to serve when it's first opened.

<!-- gh-comment-id:368952890 --> @dmarkey commented on GitHub (Feb 27, 2018): @mthenw even if we could get the 2000 lines or whatever fronttail is configured to serve when it's first opened.
Author
Owner

@mthenw commented on GitHub (Oct 23, 2018):

Interesting suggestion. I don't have time to do that right now but I'm happy to guide how to implement that. I'm leaving it open.

<!-- gh-comment-id:432186597 --> @mthenw commented on GitHub (Oct 23, 2018): Interesting suggestion. I don't have time to do that right now but I'm happy to guide how to implement that. I'm leaving it open.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#82
No description provided.