Skip to content

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

@Chr031

Description

@Chr031

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions