Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

LogWatch interface doesn't give information on close stream event #6880

Open
Chr031 opened this issue Feb 12, 2025 · 0 comments · May be fixed by #6876
Open

LogWatch interface doesn't give information on close stream event #6880

Chr031 opened this issue Feb 12, 2025 · 0 comments · May be fixed by #6876
Assignees

Comments

@Chr031
Copy link

Chr031 commented Feb 12, 2025

Is your enhancement related to a problem? Please describe

The LogWatch interface doesn't implement any easy and obvious way to receive its closing event. When the underlying log stream is closed for any purpose, no information can be retrieved from this interface, event if its implementation has it.

Describe the solution you'd like

Any callback or event listener may be welcome.
cf #6876

Describe alternatives you've considered

Thanks to @shawkins for this remark 👍
-- If you instead just get the InputStream off of the LogWatch, you will see an exception or -1 when attempting to read past when it is done. --

Additional context

No response

@Chr031 Chr031 linked a pull request Feb 12, 2025 that will close this issue
11 tasks
@manusa manusa moved this to Planned in Eclipse JKube Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant