Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Tail Option to kit dev logs Command #591

Open
gorkem opened this issue Nov 4, 2024 · 2 comments
Open

Add Tail Option to kit dev logs Command #591

gorkem opened this issue Nov 4, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@gorkem
Copy link
Contributor

gorkem commented Nov 4, 2024

Describe the problem you're trying to solve
Currently, the kit dev logs command retrieves and displays logs from the last or current development session. However, it lacks the capability to continuously stream logs in real time. Developers often need to monitor logs live to track the progress of ongoing tasks, identify issues as they occur, and ensure that their development environment is functioning correctly.

Describe the solution you'd like
Introduce a --tail (or -f) flag to the kit dev logs command that, when used, continuously streams and displays new log entries as they are generated. This behavior mimics the functionality of the Unix tail -f command, providing a seamless and integrated way to monitor logs in real time.

Behaviour: When the flag is used, kit dev logs enters a streaming mode, continuously fetching and displaying new log entries. The tailing continues until the user manually terminates the command (e.g., via Ctrl+C).

@gorkem gorkem added the enhancement New feature or request label Nov 4, 2024
@srikary12
Copy link
Contributor

Will get this fixed today.

@srikary12
Copy link
Contributor

As there is no log rotation, I've added custom tailing.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants